Ola Vikholt 5 years ago 0
In other words, please apply this patch or some variation of it.

diff --git a/a b/XML.tmLanguage

index 9438f60..bbb5823 100644

--- a/a

+++ b/XML.tmLanguage

@@ -109,6 +109,15 @@




+                       <key>patterns</key>

+                       <array>

+                               <dict>

+                                       <key>match</key>

+                                       <string>--</string>

+                                       <key>name</key>

+                                       <string>invalid.illegal.double-hyphen-in-comment.xml</string>

+                               </dict>

+                       </array>




Anselm Eickhoff 5 years ago 0

In Erlang, fun is not only a keyword for lambdas, but can also be used in -spec macro directives.


-spec for_house_of(Type :: row|column|box,
  Pos :: integer(),
  AccStart :: X,
  Fun :: fun((Pos :: integer(), Acc::X) -> (Y))
) -> [Y].

This breaks syntax highlighting afterwards though (because Sublime text thinks we're in an anonymous function that has never been ended).

(multiline or single line -spec doesn't matter).

It can be fixed by ignoring the fun keyword if it follows two colons in this case:

Erlang.tmLanguage, line 699





This is only a hack though, because the parameter spec could also be unnamed:

-spec for_house_of(Type :: row|column|box,
  fun((integer(), X) -> (Y))
) -> [Y].
Nicholas Whittier 6 years ago 0
I am running the Linux (x86_64) build.  I realize that this does not have true feature ramifications, but it would be great if the file/directories were restructured to remove spaces and special characters.   

I love the simple elegance that ST offers almost as much as the straight-forward customization that is available in the config files.  Then I navigate to those config files to find filenames like "Base File (Linux).sublime-settings" and I cringe.
Joren Mathews 5 years ago 0
If you could create a comment in code, which would show up readably sized in the sidebar. Something like //!User section would print "User section" legibly where that comment appears floating over the sidebar.
Aaron Spaulding 5 years ago 0

Paste the following text in to ST2 then put cursors after the braces. Press tab:





It produces the following output:





David Stults 6 years ago • updated 5 years ago 2
The ability to save files which require superuser privileges is a great option, but for the work I do, I save fairly often, and as a result I get prompted for my password every couple of minutes.  My password is complicated, so this is irritating, and since my workstation is quite secure I'd like the option to loosen the re-prompt frequency.
Lass Zing 4 years ago 0
The Crown Capital Management Global Journalism International Relations Blog:The UK is having a hard time breaking away from trade deficit

Exports have reached new record levels as it arose, but imports have exceeded as well as its prior highs and thread of shockingly high deficits is almost unchanged. Due to this some scientists say that the recovery will only make the gap grow. The UK continues to import more than they export and are carrying a perpetual trade deficit.

The UK has balanced its trade deficit with income from abroad for a period of time. Many companies and investors who own assets in foreign lands and send back the gains to UK are still enjoying the legacy of the empire.

The positive result on UK’s present account has decreased harshly since the financial crash, but, and the future looks less hopeful.

On this Corner:
The CCM International Relations

HSBC’s chief economist, Stephen King, is also affected by 5% deficit. He argues that that should be down to zero or positive in the aftermath of a severe recession.

King’s concern is that deficits grow in times when many shoppers consume more imported goods than ever. Much better to start from a situation of balance or even a positive balance sooner than the situation worsens.

An appropriate recession, one in which declining wages or mass unemployment that eradicate people’s incomes in total, lessen the import bill noticeably. It is a land that can be seen in Greece, Spain and Portugal, where the horrendous economic and financial conditions they find themselves in have at least improved the trade balance.

The Keynesian answer to the crisis in the UK implemented by Labour and partly sustained by the coalition supports employment and public services; however, as well has the unlucky consequence of preserving high levels of imports. That is the reason the enormous deficits run up by successive governments during and after the recession required to be offset by a major jump in exports.

Regardless of a 25% drop in the significance of sterling, the increase was just small. There are many rival explanations for the reason. The dependence on the EU, which separate from Germany has resisted development since 2008. The inclination for exporters to jack up their prices instead of the increase production as an answer to higher demand is one more long-term problem.

Both give slight motive to expect that an economy that month on month runs a historic elevated deficit previous to the upturn has achieved actual momentum, and with imports increasing further, can evade a mini sterling crisis.

Doomsayers disagree Britain has 18 months to two years to discover its export mojo ahead of it is becoming crystal clear a lower pound is needed. A minor pound would give exporters another increase and perhaps close up the deficit, however, would as well elevate import prices and inflation. Higher inflation, joined with a consumer boom that is mostly based on additional borrowing, may perhaps oblige the Bank of England to jack up interest rates. Whatever supporters of higher rate dispute, a speedy and vicious response from the central bank is unwanted and would convey the recovery to a shaky halt.
Me Whatever 6 years ago • updated 6 years ago 0

The File Open Dialog seems to be an old one. You should be able to type paths that are not valid but sublime to fix the path separator if you typed '/' instead of '\' on Windows. For example opening file at: C:\Folder1/Folder2/Folder3/textfile.txt doesn`t work.
Also alt+v should open the view types, I usually switch to detailed view by using combination cltrl+v then press l and it switches to details view.
Maybe the control is older.
Evgheny Maslennikov 5 years ago 0
Here is example of C++ code

void myMethod1(const std::vector >& matches1,
               const std::vector >& matches2,
                     std::vector& symMatches) { 
  // Some code of method
  // ...
  // some code

If I want to collapse whole method, I get:
void myMethod1(const std::vector >& matches1, ...
  // Some code of method
  // ...
  // some code
So, It collapses not the method's body, but method's header
David McGuigan 5 years ago 0
Make the sidebar drag and droppable into its own window, also, allow tabbed sidebars for better drive organization.
risomt 5 years ago 0

If you open a project that includes a network folder in Sublime Text (2) in Windows, and the folder requires authentication, ST2 will not prompt you for said authentication or present any information about the authentication being required.  Instead, it hangs on refresh / reload and, once out of the hang, does nothing. 

A work around to this is to remove the folder from the project and re-add it.  ST2 notices the authentication is required, Windows prompts for it, and upon entering it the folder can be added.  Rather inconvenient, though!

Expected: ST2 shows some special marking for an authenticated-required folder and, if un-authenticated or it cannot open it, prompts the user with a message.  This is assuming the windows authentication can be identified as the problem, which I am unsure exists in the windows API.

Sam Allih 4 years ago 0
By travelwesthill
The largest city in Indonesia and one of the most thickly populated city in the world, Jakarta, is still very famous for tourists to visit. You will find a remarkable skyline and be impressed with some of the tallest buildings on the planet. This symbolizes the city’s financial prowess.
The city is finished with a display of regions and suburbs. All of which are particularly dissimilar, which makes this hub of Asia is a true melting pot of cultures.
The city has had a chaotic history going back to the 12th century and the influence conquering nations have had on Jakarta is obvious. Portuguese, Dutch, Chinese and British architecture can be seen in different parts in the entire city.
Jakarta is one of the extravagant cities you would want to visit and represented globalization in almost every admiration.
After deciding on what hotel you want to stay, then the next thing you have to worry about is getting there. The most convenient means to roam around the city is to fly into Soekarno Hatta International Airport. The airport is serviced by most major airlines and you will find that getting to your Jakarta hotel from here is easy just 20 km outside the city.
There is a free shuttle bus into the city, but it can be random, so pre-booking a taxi could be the better choice. But, these can be very costly.
One more option is to rent a car so you can go directly to your Jakarta hotel without any trouble, but be very patient with the traffic because it can be a nightmare.
Travelling to and from the city is trouble-free by train and there are many of excellent connections. Commuter services start running early from 5.00 a.m. local time, and they frequently up until late into the night. The service is usually dependable and you can choose from four distinctive services such as air-conditioned non-stop trains, semi-express trains, ekonomi AC – which will stop at every station but is air conditioned – and ekonomi.
If you are tight on cash, an upgrade is worthwhile since your journey will be a great deal.
Bus connections are good and the means of transport are rather comfortable because not so crowded than the train. On the other hand, it is suitable not to travel from your hotel in Jakarta during rush hour.
There are also less considerable means of transport like other destinations. Jakarta has an enormous number of bajajes. This can be used as a fast and convenient if you know precisely where you are headed.
Robert L 6 years ago • updated by Jon Skinner 6 years ago 0
Simple column-like formatted texts and languages, assembly is one example, can benefit from wider tab widths; an option to freely set any tab width would be useful.

Jon Skinner 6 years ago
This can be done with the tab_size file setting
Lucas Neil Brown 5 years ago 0
On the Windows version I've noticed that using the scroll wheel isn't as sensitive as I'd like it (especially coming from Notepad++ that zooms around). It would be great if there as a way to configure this!
random_person 6 years ago 0
is it possible, or would it be possible to add, the ability to trigger a right click (command click) from the keyboard? i hate using a mouse so to be able to select some text and then from the keyboard trigger a command click would be fantastically useful. (a feature from TM)

atomi 7 years ago • updated 7 years ago 1
long tag has:

but it doesn't trigger nor the short tag
Daniel Sont 6 years ago • updated 6 years ago 0
Can there be an OS independent hotkey to focus window 1 or window 2...etc.

This would be handy, as I often don't know which window I have focused and alt+tab always just switches instead of goes do a definite one.

Furthermore.. maybe instead you could do hotkeys for each grid element.

so if I had it set up like this
 ______    _______
|A  |  B |    | C |   D|
|    |     |     |     |     |
|______|    |______|

It would be super cool if I had a configurable independent hotkey for each (ctrl alt a, ctrl alt b, ctrl alt c, ctrl alt d) or something.
Andy T 6 years ago • updated 6 years ago 0
I/we do a lot of email builds which means we have to use tables a lot :-(
Having an MS word type drag over ui to decide the rows and columns of a table would really speed things up.
We use Edit plus at the moment and it has it, we would not be able to move away to a tool without it.
if it's an option it would really save the day for your awesome editor to have it.
Ishan Shah 5 years ago 0

Is there a way to install all the sublime text 2 plugins that you would like to install all at once. In Notepad++, there is a plugin manager which lets you install all the plugins you want to install by checking the box next to the plugin name & description. I was wandering if there is something like that for sublime text.

For eg, I would like to install Zen Coding, JQuery Package for Sublime Text, Sublime Prefixr, JS Format, SublimeLinter and many other plugins all at once rather than typing each plugin in the Package Control and installing it one by one.

Oktay Acikalin 7 years ago • updated by Jon Skinner 7 years ago 0
When closing a project or switching to another project unsaved files are kept in their state. But if I quit slt2 it asks me to save them. It would be nice to also "keep unsaved changes" like it's already done for the two actions mentioned above.
Jon Skinner 7 years ago
You can use "Hot Quit" (OS X), or "Hot Exit" (Windows / Linux) for this