Twoje komentarze
I believe this is possible as described on
http://docs.sublimetext.info/en/latest/customization/settings.html
Basically you'd want to create a 'Packages/User/YAML.sublime-settings' file and set "translate_tabs_to_spaces": true in it.
It's not an exact match to your request, but check out the Caret History plugin. It lets you use Alt+Left/Right to jump through a history of your cursor-positions, across all open buffers. Personally I find this approach more useful than just switching files, though it could use some refinement.
Also, ST2's default Ctrl+Tab/Ctrl+Shift+Tab behave something like a file history, but operate on the order buffers have been viewed rather than opened.
I like the suggestion of displaying EOL characters. As far as I can tell, it currently doesn't display any newline characters, just tabs/spaces, when "draw_white_space": "all" is set.
For a poor-man's printing method, try out my Print to HTML plugin.
For a poor-man's printing method, try out my Print to HTML plugin.
Does calling something like 'view.set_syntax_file("Packages/SQL/SQL.tmLanguage")' do what you need? (Not sure what the actual path here would be for PSQL's .tmLanguage file)
If not, one possible solution is to split the window's view into two, like e.g. View->Layout->Rows:2. Then load the second view with your output and use view.set_syntax_file() to give it the syntax highlighting you desire.
If not, one possible solution is to split the window's view into two, like e.g. View->Layout->Rows:2. Then load the second view with your output and use view.set_syntax_file() to give it the syntax highlighting you desire.
You might also like to check out my Print to HTML plugin, which outputs a pretty-formatted version of your code as HTML and opens it in your default browser. It has an option to disable automatically pulling up the browser's Print dialog so you could just look at the result on screen.
You can customize your keybinds in Preferences->Key Bindings - User, and copy what you need from ->Key Bindings - Default.
Modifying ST2's default keybindings to conform to one specific other editor doesn't seem like a good idea, since other editors may not conform to those changes. However, this does sound like a good target for creating a sublime plugin for the task -- "Xcode Keybinds for Sublime Text 2" for instance.
Modifying ST2's default keybindings to conform to one specific other editor doesn't seem like a good idea, since other editors may not conform to those changes. However, this does sound like a good target for creating a sublime plugin for the task -- "Xcode Keybinds for Sublime Text 2" for instance.
Can you describe what this Textpad feature does?
ST2 does have an option Edit->Paste and Indent, but I'm guessing this isn't what you're after.
ST2 does have an option Edit->Paste and Indent, but I'm guessing this isn't what you're after.
I'm not sure, but perhaps this plugin will do what you are looking for: https://github.com/joelpt/sublimetext-print-to-html
Scroll down to the Installation section and follow the instructions from there down.
Scroll down to the Installation section and follow the instructions from there down.
I would like this a lot. It makes more sense to me to have one "jQuery.sublime-snippet" file with all my jQuery related snippets instead of having to create a separate file for each one.
This would be nice. A related request is to support Python functions within regex replace patterns.
Customer support service by UserEcho
If you're using Windows, you could write a simple AutoHotKey script to get the behavior you describe for ST2 (or any/all apps). Search or ask on the AHK forums, it would only be about 3 lines of AHK code.