sublimetext3

Middle button paste deleted text in Sublime 3

点点圈 提交于 2020-01-03 15:50:09
问题 (Note: This question is different from Move cursor on middle button paste in Sublime Text 3 ) I am using Sublime Text 3 on Linux (but it also applies to Sublime Text 2). In both emacs and vim, it is possible to highlight some text (this copies it to the clipboard), delete the text, then paste it elsewhere with the middle mouse button. This is my usual workflow to move some text (select->delete->middleclick). On Sublime however, it doesn't paste anything, i.e., the middle button paste

Browse autocomplete results without arrows in Sublime

假装没事ソ 提交于 2020-01-03 05:11:34
问题 I'm using Sublime Text 3, and I am trying to not use arrows for anything. However I can't seem to scroll through different results of autocomplete or Ctrl+P without the arrows. Any suggestions? Thanks! 回答1: You probably want something like this in your keymaps file: // navigation with tab in autocomplete popup { "keys": ["tab"], "command": "move", "args": {"by": "lines", "forward": true}, "context": [{ "key": "auto_complete_visible" }] }, { "keys": ["shift+tab"], "command": "move", "args": {

Custom folding for Sublime Text 3

懵懂的女人 提交于 2020-01-02 06:29:12
问题 I am trying to get custom folding for sublime text 3, namely the markers: *--#[ some stuff *--#] indicate my region. I tried AAAPacakgeDev , but it doesn't seem to support folding. The package SyntaxFold introduces its own logic and new keybindings, which seems unnecessary. It seems .tmLanguage does support folds, so what I did is I copied Obective-C.tmLanguage from its package to Packages\FORM and renamed it to `FORM.tmLanguage'. Then I modified the markers to: <key>foldingStartMarker</key>

Sublime Text 3 internal image viewer

北战南征 提交于 2020-01-02 05:31:06
问题 Would it be possible to create an internal image viewer plugin for Sublime Text 3? I noticed in their forum people have mentioned it not possible for ST2 due to the fact that the API doesn't allow access to the UI and widgets, but just wondered if it was still the case for ST3? 回答1: Sublime Text 3 now has a built in image preview. It also provides provides simple information about the image such as pixels & size of the image in the status bar. This feature was first introduced in development

How to give Sublime Text 3 write permission to files in web server's DocumentRoot?

丶灬走出姿态 提交于 2020-01-02 02:42:09
问题 I use Mac OS operating system for doing some local development and I don't want to change the default document root of Apache, which is /Library/WebServer/Documents/ I put my projects under that directory. But when I editing files, Sublime Text usually asks for the password when saving the changes. Without moving the projects to a less protected location, how can I let Sublime Text access those folders and files with full permission? What about changing the owner group to something and adding

How to run SublimeText with visual studio environment enabled

怎甘沉沦 提交于 2020-01-02 01:59:57
问题 OVERVIEW Right now I got these 2 programs on my windows taskbar: SublimeText3 target: "D:\software\SublimeText 3_x64\sublime_text.exe" VS2015 x64 Native Tools Command Prompt target: %comspec% /k ""C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"" amd64 Goal here is running Sublime Text with vs2015 environment enabled. One option would be open the vs command prompt and then run sublime text from there, > sublime_text (this is not good one, I want it to be a non-interactive

How to convert from lower to upper case in Sublime 3

坚强是说给别人听的谎言 提交于 2020-01-02 00:42:28
问题 Is there a shortcut or function for upper/lower-casing the selected text in Sublime 3? 回答1: if you need convert any text, select and press: ctrl + KU 回答2: If you go to the Edit menu and select Convert Case you'll find several options, with the appropriate shortcuts listed next to them. Additionally, the Case Conversion plugin, available through Package Control, adds a number of additional options to this menu for converting variables, such as snake_case , camelCase , PascalCase , dot.case ,

Why can't turn off the Sublime 3 updates notification by adding “update_check”:false in user setting file?

人走茶凉 提交于 2020-01-01 07:52:08
问题 I want to turn off the Sublime 3 updates notification, so I go to Preferences -> Settings-User and edited it like this: { "auto_close_tags": true, "font_size": 18, "hot_exit": false, "remember_open_files": false, "show_encoding": true, "update_check": false } but it doesn't work. 回答1: There is no way to turn this off, unless you have registered your version of Sublime. Sublime Text 3 is still in "beta" status, so it is strongly advised that you upgrade when a new version is available to get

Unicode Encode Error in Sublime Text 3 console

依然范特西╮ 提交于 2020-01-01 07:05:15
问题 I’m always getting a 'UnicodeEncodeError: 'ascii' codec can't encode character '\xf6' in position 0: ordinal not in range(128)' in the sublime text 3 console when trying to print a non-ascii character. I'm using Anaconda Python Builder to build the system. Building the system with the built-in “python” runs perfectly (i.e. prints out non-ascii characters fine) and also running the script from the terminal works fine (i'm running the script on Mac OS Sierra). I assume the problem must have

How to save collapsed / folded code in Sublime Text after removal of bufferscroll plugin

拜拜、爱过 提交于 2020-01-01 05:06:28
问题 Is there a way to save/sync collapsed code from session to session in Sublime Text 3, now that the BufferScroll plugin has been removed? 回答1: Here's the background story (I can't find the link, the author might have deleted it, so I'm paraphrasing). Basically, the author of Package Control requested that, instead of using dates as version numbers (such as 2016.03.18.06.34.41 for the most recent version of BufferScroll), package authors should use semantic versioning similar to how Github