sublimetext2

How to remove a package in sublime text 2

大憨熊 提交于 2019-12-20 07:58:26
问题 I would like to remove and/or deactivate the Emmet package in Sublime Text 2. Should I just remove the Emmet directory or what is the typical workflow for removal of a package? 回答1: If you installed with package control, search for "Package Control: Remove Package" in the command palette (accessed with Ctrl + Shift + P ). Otherwise you can just remove the Emmet directory. If you wish to use a custom caption to access commands, create Default.sublime-commands in your User folder. Then insert

Multiple Cursors in Sublime Text 2 Windows

二次信任 提交于 2019-12-20 07:57:32
问题 I have installed Sublime Text 2 in windows and I am trying to use the multiple cursors feature. Firstly I highlight the selection I am looking for (three lines). Then I can press CTRL + D to select each re-occurrence, or ALT + F3 to select all. There are four repeats in my situation. I now want to move the cursors in the middle of the three lines and add some information, to be added to all occurrences. As soon as I click in the selection, the multiple selection is gone? Is there something I

Sublime Text 3, rbenv, TestUnit, RubyTest and Spring correct configuation to get tests working

醉酒当歌 提交于 2019-12-20 04:48:12
问题 So I've setup RubyTest / Sublime Text 3 and that works fine. I'm having trouble getting spring to work in RubyTest. There is this cryptic setting: "check_for_spring": false, But when I set to true and run a test it just gives me the default spring command output e.g: Version: 1.1.3 Usage: spring COMMAND [ARGS] Commands for spring itself: If I follow info on this url (https://github.com/rails/spring), correct way to call a test is? bin/rake test test/functional/posts_controller_test.rb Now my

Sublime Text How to add package to global repository

こ雲淡風輕ζ 提交于 2019-12-20 04:09:27
问题 I created a plugin for sublime and I called it "sublimecastling". The main idea is to replace 2 selected fields. So I'll be glad to know whether it's possible to add it to your Sublime repository in order users could install the plugin via package-control. The github link is provided below, https://github.com/unknownuser88/sublimecastling 回答1: If you want to make a plugin available via Package Control, visit the documentation page on the Package Control website and click on Submitting a

Change Sublime Text 3 Sidebar Width

纵饮孤独 提交于 2019-12-20 02:34:15
问题 I wanted to know if it is possible to change the sidebar width in ST3? Is this a project based, theme based, or something in settings? I did not see in default settings so that is why I brought the question here. Thank you. 回答1: To resize the sidebar, all you need to do is click and drag: There is no way to set a "default" size in your user preferences, project, or current theme, unfortunately. 来源: https://stackoverflow.com/questions/26933683/change-sublime-text-3-sidebar-width

Sublime Text modifying Linux mousemap to use 4th mouse button

谁都会走 提交于 2019-12-19 21:53:41
问题 Using Sublime Text 3 (Build 3059) on Linux. In Sublime Text column selection can be used to select a rectangular area of a file. When using the mouse to do this different mouse buttons are used on each platform. On both OS X and Windows the middle mouse button can be used to select the rectangle of text. On Linux you need to use the right mouse button + shift, I find that combination inconvenient so instead wanted to use the 4th button on my mouse to do it without the hassle of a modifier key

How do I edit HTML.tmLanguage in sublime on mac osx

梦想的初衷 提交于 2019-12-19 21:45:25
问题 I'm to change it to support non-quote id, as in: <div id=someId></div> I found this http://www.sublimetext.com/forum/viewtopic.php?f=3&t=8129 But am having issues finding where to edit the tmLanguage file 回答1: Don't listen to Jamie's answer. You should never be editing the Pristine packages. Instead, you can find all of Sublime Text's packages and grammar files in ~/Library/Application Support/Sublime Text/Packages or, from within Sublime Text, go to Sublime Text > Preferences > Browse

How do I change my build configuration so that cmd points to actual location of the python interpreter?

谁都会走 提交于 2019-12-19 21:43:51
问题 When I try to run python or any language through Sublime Text 2, all it says is [Error 2] The system cannot find the file specified [cmd: [u'python', u'-u', u'C:\\Users\\Owner\\Desktop\\RandomStuff\\python\\java\\bob.java']] [dir: C:\Users\Owner\Desktop\RandomStuff\python\java] [path: C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Java\jdk1.7.0_03\bin] [Finished] I was told to change my

bash.exe: warning: could not find /tmp, please create

和自甴很熟 提交于 2019-12-19 16:22:25
问题 why my sublime text giving me warning: bash.exe: warning: could not find /tmp, please create although it is building and running the code correctly. Please help me just got irritated by seeing this warning. I have searched the whole web but i couldn't find any solution 回答1: This error message is misleading. At least for me it did not solve the problem after creating /tmp directory. Problem was solved after I killed sh.exe. 回答2: To piggyback on Kode Charlie's answer: Open Start Menu Type "cmd"

Sublime Text 2 command line not working after Mavericks install

谁说我不能喝 提交于 2019-12-19 10:25:29
问题 I've ready through other threads on Stack Overflow and despite my efforts the issue doesn't seem to resolve. Since installing OS X Mavericks I'm not able to open Sublime Text 2 from the command line. I've tried following these guidelines: http://benkwok.wordpress.com/2013/11/17/setup-sublime-text-2-on-osx-mavericks-for-ruby-on-rails/ When I run this from the terminal Sublime pops up so that's good: http://benkwok.wordpress.com/2013/11/17/setup-sublime-text-2-on-osx-mavericks-for-ruby-on-rails