Sublime Text 2 is a text editor for OS X, Linux and Windows, currently in beta.

-1

find.use_selected_text in ST2

adzenith 14 років тому оновлений 14 років тому 1
In Sublime Text 1, there was an option find.useSelectedText that you could set to false to prevent selected text from automatically being copied into the find box. Could this option be added into ST2?
-1

Automatically highlight references to symbol under cursor

Vincent Abric 14 років тому оновлено Hugo Schmitt 12 років тому 2
Same usefull feature as in this sublimetext 1 plug-in : HighlightCurrentWord
-1

Using a binary shift left ("<<") followed by a left parenthesis causes Perl syntax highlighting to fail.

David Stults 13 років тому оновлено Fredrik Ehnbom 13 років тому 1
Example:

$x = 1 << (32 - $y);

Everything after the ; will be colored yellow, no more syntax highlighting.
-1

leaving full screen crashes

Eugene Wolfson 14 років тому оновлений 14 років тому 2
In Build 2128, on OS X, going in to Full Screen or Distraction Free mode and then exiting it causes Sublime Text 2 to crash.

If I reopen it, I do not lose my open tabs.
-1

A more OS-integrated side bar

Fre 12 років тому 0

Drag and drop files and folders (from within the app and from other apps), file renaming, a contextual menu (especially useful actions: open with, reveal in Finder/Explorer), file icons (the line height allows for icons, to easily see the filetype)


The current sidebar is quite bare bones, the plugin I found revealed to be quite a hack and don't integrate well with the OS ("Open with" doesn't load system applications)

-1

Auto hide the function list window under some circumstances

codex 13 років тому оновлений 13 років тому 0
I am used to Slickedit's "next function/prev function" keyboard bindings.   So far, the closest approximation ST2 is to use <Command-R><Up/Down> to show the function list, and then using the arrow keys to move to the next function.  However, if I should simultaneously press Command, R, and an arrow key, and keep Command and R depressed while I select a function, the selection window will not automatically go away when I release the keys--it requires <Enter>.  This makes quick selection difficult (the same problem also occurs with Command-P).  There are some other problems with this method as well, such as:

- the next function is not visible in the function list, because the current function is always at the bottom
- the chosen function is not always in the same spot in the editor window (e.g. middle), and I can't easily find it because my eyes were focused on the function list as the editor window was scrolling around. 
-1

Google Closure Template

Niken Wijaya 13 років тому оновлено Peter Meier 12 років тому 1

Would you please add syntax highlight for google closure template :)

-1

Make tab handling work like in a browser, especially Chrome

Philipp 14 років тому 0
Sublime 2 looks a lot like Chrome which I appreciate very much.

However, because the two look alike, I also expect Sublime to work like Chrome in many regards.
For example:

CMD + t should open an empty document in a new tab
CMD + n should open an empty document in a new window
Dragging the last tab from an empty window should close it

When I close a tab, the next tab should slide over so that its close button is exactly where the close button of the previous tab was (Chrome does this). Right now, when I want to close multiple tabs, I have to reposition my cursor after each click. This is not optimal.

There is probably a lot more that Sublime could learn from Chrome. An "app store" for user generated extensions would be great as well.
-1

The Michael Shearin Group: Our S&P 500 Forecast - 2,014 in 2014

Malik Rajit 11 років тому 0
Adam S. Parker, Ph.D.
US Equity Strategist
Morgan Stanley & Co.

Our 2014 forecast for the S&P 500 Index is 2,014. That may look like a big number, but it doesn’t take a giant leap to get there. It represents 9% potential upside from the 2013 close, driven by our estimate of 6% operating earnings growth, net 3% share repurchases and modest expansion of the forward price/earnings (P/E) multiple. Relative to our prior view, this represents about a 0.8 turn more in the P/E multiple—and there is potential for more. The low dispersion of price/forward earnings and higher company-specific risk lead us to conclude that a more concentrated portfolio will be prudent this year.


Multiple Expansion

Since last March, we have been sanguine on US equities. Our logic has been driven more by lack of a bear case than the strength of the base case. We have seen three turns of multiple expansion in the last two years as the P/E moved to 15.1 from 12.0—only the fourth period with this level of expansion over the past 40-plus years. Obviously, a sample size of three isn’t statistically significant, but the prior three periods were followed by a continuation of the rally for another 12 to 24 months, as momentum typically persists. The only thing people are worried about currently is that no one is worried about anything, which isn’t a real worry.

In order to time the impossible—the inflection point—we remain focused on what could cause fear about a materially lower earnings trajectory, or even what could introduce volatility into the earnings estimates. The answer: not much right now. We need to see more capital spending, hiring, inventory and mergers-and-acquisitions activity in order to be more fearful of a material earnings decline as these costs get put in place and turn out to be imprudent. We would look for backlog extensions from the technology and industrials companies or increases in book-to-bill ratios as signs demand is improving and spending is imminent. The most pronounced risks remain: demand weakness in the emerging markets, which has been indicated by some large US multinationals; a policy error from the Federal Reserve; and a strengthening dollar, which can be a drag on profits earned overseas by US companies.


Above Consensus
With a 2% dividend yield, a 3% net buyback and mid-single-digit earnings growth, a big down market is akin to calling for a double-digit contraction in the market multiple. We don’t think that’s likely. We are still optimistic and wouldn’t be surprised to see the S&P 500 remain robust. Our target for 2014 will likely be above Wall Street’s consensus. The dream of a steeper yield curve, a belief that the Fed can distinguish between tapering and tightening, and the lack of a credible bear case in earnings could drive further multiple expansion. Upside from economically stronger China and Japan could also help. In fact, it isn’t preposterous to say that we could be in an environment of synchronous global economic expansion in 2014 that isn’t fully in today’s prices.

At the sector level, we are upgrading materials to overweight from equal weight, a move driven by chemicals. We are also downgrading industrials to equal weight from overweight and lowering energy to underweight from equal weight. In addition, our strategy recommendations include a preference for small caps over large caps, and we recommend a barbell-like approach, holding both cyclical and defensive companies. We prefer health care to consumer staples, technology to consumer discretionary and chemicals to industrials and energy. Within financials, we prefer capital-market-sensitive banks and asset managers over insurers and regional banks.
-1
Fixed

File dirty marker doesn't update on save when buffer has multiple views

Daniel Azuma 14 років тому оновлено Jon Skinner 14 років тому 2
If you open a buffer in multiple tabs (using, for example, Goto Anything), make some changes, and save the buffer, the "file dirty" marker asterisk disappears only on the tab that was active when you saved. The other tab retains the asterisk.

Build 2032 on Mac OS X.

* Choose vertical two pane layout.
* Open a file in group 1.
* Switch to group 2. Open the same file there using Goto Anything. The same buffer now appears in two tabs, one in each group.
* Make some changes to the buffer. A "file dirty" marker asterisk appears in both tabs.
* Save the buffer. The asterisk disappears in the tab that was active when the save command was issued, but it remains in the other tab.