sublimetext

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

Shortcut to comment out a block of code with sublime text

谁说胖子不能爱 提交于 2019-12-12 07:08:10
问题 I want to comment out a block of code in sublime text. I see it in RailsCasts, but don't think he uses sublime text ... to do the following ... if (uncommented) some uncommented example # if (commented) # some commented example code # end end Is there a shortcut in sublime text that I can use to insert the block of #'s? 回答1: The shortcut to comment out or uncomment the selected text or current line: Windows: Ctrl + / Mac: Command ⌘ + / Linux: Ctrl + Shift + / Alternatively, use the menu: Edit

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

Class “sheet container” in Sublime Text 3

北城余情 提交于 2019-12-12 04:04:41
问题 (English is not my native language, PROMT translate) Hello. I study the page Default.sublime-theme. There are lines: { "class": "sheet_container_control", "layer0.tint": [64, 64, 64], "layer0.opacity": 1.0 }, To what element the class sheet_container_control sets properties? Where I can see this element? Thanks. 回答1: The sheet_container_control is the setting for an empty window's background. See the Soda theme for descriptions of the various controls. 来源: https://stackoverflow.com/questions

sublime 3 tabs and spaces do not match

徘徊边缘 提交于 2019-12-12 03:48:22
问题 I have browsed the web 3 times over but still no solution. I have a simple js file, and I want my tabs to be 4 spaces instead of 2. I changed the preferences settings to tab size to be 4, chaged syntax specific settings, everything, but still same issue. any ideas? 回答1: Click On the indentation information on the status bar, that's where it says either Tab Size: num or Spaces: num , and a context menu will be displayed. Assuming the starting position of a file using indentation with spaces

Starting SublimeREPL for Scheme gives OSError(2, 'No such file or directory')

一笑奈何 提交于 2019-12-12 03:08:59
问题 I've been trying to use SublimeREPL to run an interactive interpreter of Scheme, but I keep getting the error message "OSError(2, 'No such file or directory')". I know it's likely a file path issue in Main.sublime-menu, but I just can't seem to figure it out. Not sure if I'm missing something obvious or what. Any help would be appreciated! Here is the config file that I have in SublimeREPL/config/Scheme (unchanged since install): [ { "id": "tools", "children": [{ "caption": "SublimeREPL",

Sublime Text / Spyder / Text-antialiasing Windows

。_饼干妹妹 提交于 2019-12-11 20:36:41
问题 In a nutshell, I can't get text in Spyder to look nearly as good as Sublime Text. (I have the same basic problem with PyCharm in comparison to Sublime, as well). Below is a pic of the same file (Sublime left, Spyder right), side by side in both programs, same font (Source Code Pro, 13 points), both running Monokai Extended Bright, which I went in and tweaked a little to get the colors to match as much as possible. ClearType is on. Is there anything that can be done to make text - pardon the

create snippet for txt scope

纵然是瞬间 提交于 2019-12-11 20:18:32
问题 I have created sample snippet for txt extension, but it does not working. I cant able to find out the issue. I am using ST3 I am using the sample. <snippet> <content><![CDATA[ Hello, ${1:this} is a ${2:snippet}. ]]></content> <!-- Optional: Set a tabTrigger to define how to trigger the snippet --> <tabTrigger>hello</tabTrigger> <!-- Optional: Set a scope to limit where the snippet will trigger --> <scope>source.txt</scope> </snippet> I saved the file in AppData\Roaming\Sublime Text 3\Packages

Mac Terminal link not working

。_饼干妹妹 提交于 2019-12-11 20:12:04
问题 I am trying to make a command line link for Sublime Text 3. If I run /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl Sublime Text opens like normal. I then run sudo ln "/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl" /usr/bin/subl Restart the terminal and I get this: $ ls /usr/bin/subl /usr/bin/subl $ subl -bash: subl: command not found I also tried setting in my .profile alias subl="/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl" but I also

Can I click to get to a method/object in Sublime Text like I can in NetBeans

我是研究僧i 提交于 2019-12-11 19:25:36
问题 I am switching over from netbeans to Sublime Text 2. One of the features I really love in NetBeans is if you hit ctrl+Left Click (Yes I am using Windows) on a call to an object or method it will open the file with the object/method and go straight to the object/method. Is there a way to do this in Sublime Text 2? 回答1: I've just started using Sublime Text3 and have also been using NetBeans. As Pascamel mentioned in the above comment, this is your best bet: https://github.com/SublimeCodeIntel