sublimetext

Change apparance of whitespace dot to something bigger / darker

本秂侑毒 提交于 2019-12-13 07:06:01
问题 I am looking for a way to change the appearance of the whitespace grey dot to something bigger and darker ( without changing the background color) -- similar to UltraEdit (see screenshot). I've read all the popular threads on the issue, and I've tried all the popular modifications (e.g., plugins, and/or changing the language and theme files), but I haven't found a way to darken the grey dot or make it any bigger. I've already experimented with everything mentioned in this related thread,

Zen coding downloading trouble

六月ゝ 毕业季﹏ 提交于 2019-12-13 07:04:05
问题 Hello to all you people out there I have been trying to download the zen coding plugin for sublime text 2, but as it seems right now, the only place you can download it is at bitbucket. The problem is, that bitbucket wont allow me to download it, even though i have signed up and everything... So if some nice guy could show me another download link or send me the file(code?), I would really appreciate it. Thanks 回答1: for some reason the zen coding package has been removed from the Sublime Text

Show a file in folder hierarchy

早过忘川 提交于 2019-12-13 04:39:15
问题 Is there a button(package or keyboard shortcut) in sublime text like in Pycharm? When click on this button will show where is active file in left menu. 回答1: In Sublime Text 3, it does highlight the selected file. You can get Sublime Text 3 here. 来源: https://stackoverflow.com/questions/32612581/show-a-file-in-folder-hierarchy

Can I create my own command in sublime and how to associate python implementation to that command?

那年仲夏 提交于 2019-12-13 00:38:18
问题 One more depth into my former question Why doesn’t this hotkey configuration for Sublime Text work?. Now I come to the implementation of sublime command, it is really a confusing way to hack what commands sublime has, as the exploration in former thread in order to find the command which is used to open a browser, finally I found it with help of @MattDMo. Then I find there is one file named open_in_browser.py in the Packages/Default folder, I guess the commands is just the file name of .py

cannot get sublime text 3 command line tools to work

梦想的初衷 提交于 2019-12-12 18:24:53
问题 I had sublime text 2 command line tools working. When I downloaded Sublime Text 3, I could not get the command line tools to work. I've tried every answer here: Open Sublime Text from Terminal in macOS. When I type: ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl I get back: ln: /usr/local/bin/subl: File exists but no matter what I do I still get back -bash: subl: command not found 回答1: Remove the existing link first. It must be a broken link. List

Sublime Text indentation issue

心不动则不痛 提交于 2019-12-12 17:09:10
问题 I encountered an indentation issue while combining html and jsp tags. Steps to reproduce: File > New File (Ctrl+N) View > Syntax > Java > Java Server Page (JSP) Paste the following code: <ul> <c:if test="${a > 0}"> <li>a</li> </c:if> </ul> Select all the content (Ctrl+A) and run Ctrl+Shift+P > Indentation: Reindent Lines The result is: <ul> <c:if test="${a > 0}"> <li>a</li> </c:if> </ul> Tested running Build 3047 under Windows 7 x64. Any clues? 回答1: For ST2 : Open the html package and edit

Correct add site-packages folder to Sublime Text 3 sys.path

为君一笑 提交于 2019-12-12 17:08:48
问题 1. Summary I don't understand, how I can make, that global site-packages path will add to Sublime Text 3 sys.path in each Sublime Text 3 start. 2. Reason I want, that in Sublime Text plugins would be possible use globally installed packages. See more in Global Python packages in Sublime Text plugin development question. 3. Example Example part of my plugin: import os import sublime_plugin import sys from duckduckgo import query # noqa from pygoogling.googling import GoogleSearch # noqa # Any

How to edit built in command behavior

丶灬走出姿态 提交于 2019-12-12 09:58:00
问题 I want to edit find_under_expand ( ctrl+d ) to consider hyphenated words, as single words. So when I try to replace all instance of var a , it shouldn't match substrings of "a" in words like a-b , which it currently does. I'm assuming find_under_expand wraps your current selection in regex boundaries like this: \ba\b I need it to wrap in something like this: \b(?<!-)a(?!-)\b Is the find_under_expand command's source available to edit? Or do I have to rewrite the whole thing? I'm not sure

How to determine path to php.exe on windows - search default paths?

佐手、 提交于 2019-12-12 08:19:39
问题 I'm currently developing a couple of plugins for Sublime Text 2 on OS X and I would like to make them cross platform, meaning I have to find out if and where php.exe is installed. Right now I call /usr/bin/php in Python, which obviously works only on OS X and Linux: phppath = '/usr/bin/php'<br> pluginpath = sublime.packages_path() + '/HtmlTidy/tidy.php'<br> retval = os.system( '%s "%s"' % ( phppath, scriptpath ) ) But on Windows, there seems to be no definitve default path for php.exe. The

How to open context menu on SublimeText 2 sidebar using keyboard?

一世执手 提交于 2019-12-12 08:02:01
问题 On SublimeText we can use Ctrl + 0 to move navigation to the sidebar. Is there anyway to open the context menu on items with keyboard like when you right click? I am on Windows xp and SublimeText 2.0.1 回答1: Is the following what your want? Add the following key mapping. And try Ctrl + f and then Ctrl + l . { "keys": ["ctrl+f", "ctrl+l"], "command": "context_menu" } 来源: https://stackoverflow.com/questions/15972780/how-to-open-context-menu-on-sublimetext-2-sidebar-using-keyboard