sublimetext3

Move cursor on middle button paste in Sublime Text 3

懵懂的女人 提交于 2019-12-12 08:22:10
问题 (Note: this question is different from Middle button paste deleted text in Sublime 3 ) I'm using Sublime Text 3 on Linux (but it also applies to Sublime Text 2). As expected, when I middle mouse button click, it copy-pastes the previously highlighted text. Unfortunately, it doesn't move the cursor to the end of the pasted text, which is the default behavior in all other apps I know (instead, it doesn't move the cursor at all). Does anyone know how to change this behavior (do not move cursor

How to change the color of right sidebar (miniMap) in sublime?

 ̄綄美尐妖づ 提交于 2019-12-12 07:45:15
问题 There is a rectangle area in the right sidebar, showing the current code block you are in in the context of the whole file, however it is kind of difficult to see, anyone know how to make the color more obvious? 回答1: Yes, it is possible to change the color of the minimap. In addition there are also a couple of settings that you can enable to make the minimap easier to see : draw_minimap_border : enable it to see the minimap border. always_show_minimap_viewport : makes the minimap always

How to “exclude” a blank space from RegExp grouping?

两盒软妹~` 提交于 2019-12-12 07:05:57
问题 Context I am a front-end developer working on ExtJS framework, and for purpose of speed, I created a lot of Sublime Text 3's Snippets to agilize the work. The models of a task, comes from the back-end at C# platform, containing the type of var and the name of it. Then I got an idea to simply copy the model content and with its string produce a new string that equates to ExtJS model pattern. Inside the Snippet code, I am not using any programming language (because its not possible), I am only

SublimeText - Highlight/Fade file names from sidebar

筅森魡賤 提交于 2019-12-12 05:39:46
问题 Is there a way I can fade file names (not hide them) from the sidebar based on .gitignore and highlight file names if they've been modified or changed? Something like Atom git integration: If the package doesn't already exist, would appreciate if someone could point me in the right direction on building it myself. 回答1: Unfortunately ST currently doesn't offer the functionality to style the filenames in the sidebar, you will need to wait for this feature to be implemented in a future version

Sublime Text 3: How to do multi-line selection that excludes blank lines?

主宰稳场 提交于 2019-12-12 05:38:12
问题 I have some scripts in Stata written as follows: * 1. count of firms in each bin grouplabs Inear_dist_km_0_10 Inear_dist_km_10_30 Inear_dist_km_30_60 Inear_dist_km_60_100 Inear_dist_km_100_150 Inear_dist_km_morethan150, groupvar(Inear_dist_km_gr) emptylabel(empty) graph hbar (count) if Inear_dist_km_gr !=1, over(Inear_dist_km_gr) name(n1) * 2. count of firms in each bin (bigger bins) grouplabs Inear_dist_km_0_20_v2 Inear_dist_km_20_40_v2 Inear_dist_km_40_60_v2 Inear_dist_km_morethan60_v2,

Sublime Text 3 edit color scheme values

徘徊边缘 提交于 2019-12-12 05:27:16
问题 I have the following javascript code in my Sublime Text 3 Editor: function get(db, segment_name, callback) { var query = { segment_name: segment_name }; } Image: I am using colorSchemeEditor to edit my theme's xml, since I want to change the color of the "segment_name" key in the query object above. I have some trouble changing this particular value, it does find a scope, (see answer here), but when I change the foreground color in the xml file, it does not change the color, I have changed

JS autocomplete package in ST3 annoying autocomplete list at the end of the line after semicolon

旧街凉风 提交于 2019-12-12 04:23:56
问题 I have some annoying issue with my ST3 JavaScript Completions package. So, whenever I hit space even If I haven't write anything yet I get JS autocomplete list with bunch of different functions and every time when I want to go to the next line I can't because there is that autocomplete list and I need to click esc button first to remove that list and than click enter so I can move on to the next line. It is pretty annoying when code is a bit longer, every time at the end of the line I need to

Sublime text 3 - coloring file extensions in sidebar tree

六眼飞鱼酱① 提交于 2019-12-12 04:21:50
问题 How do I color file names based off of their file extensions? The picture below is in brackets.io and compared to the tree in sublime there is no color to highlight the file type Brackets tree Sublime tree 回答1: How about using Sublime file icons package to add icons based on the file extension instead ? here is a tree from in my Sublime Text 3 for a Jekyll project: 来源: https://stackoverflow.com/questions/41443299/sublime-text-3-coloring-file-extensions-in-sidebar-tree

How to setup Sublime Text 3 to build script with MSYS bash?

前提是你 提交于 2019-12-12 04:12:35
问题 Hi i would like to know how to setup sublime text 3 build system to execute bash script threw MSYS bash. I have try the following build system : { "cmd" : ["bash", "$file"], "selector" : "source.shell", "path" : "C:/MinGW/msys/1.0/bin" } It does look to work, but it can't find gcc, i have try to add multiple path this way : "path" : "C:/MinGW/msys/1.0/bin:C:/MinGW/bin" But the C: looks to break the thing . I have also try this : "path" : ["C:/MinGW/msys/1.0/bin", "C:/MinGW/bin"] But it fail

Sublime Text console: Python Package import failing, despite their presence

我的梦境 提交于 2019-12-12 04:05:56
问题 I am very new to SublimeText3. I have Anaconda setup in my system and all the packages such as numpy, pandas and others are installed in /home/sam/anaconda/lib/site_packages.. Since my package distribution is in Anaconda's site packages, I created a new build system in sublime Text pointing to the Anaconda's Distribution. Now when I build the complete code- my imports, such as .. import numpy import pandas works fine. However, When I manually run the imports in the console of the sublime text