sublimetext2

git commit error with sublime text 2 [duplicate]

送分小仙女□ 提交于 2020-01-22 16:18:25
问题 This question already has answers here : How can I make Sublime Text the default editor for Git? (16 answers) Closed 3 years ago . I'm taking the course "How to Use Git and GitHub" on Udacity. I'm following along with the examples but I've run into a problem. I've been at it trying to fix the problem via googling and trial and error by myself for about two hours. I think it's about time to make a StackOverflow post. I prefer trying to figure out my issue without posting on StackOverflow, but

Sublime Text (v 2.0) - how do I stop auto indentation on new lines after brackets?

六月ゝ 毕业季﹏ 提交于 2020-01-22 15:33:07
问题 I'm trying to make the jump from Notepad++ to Sublime Text 2. However one issue is stopping me from doing so: When working in CSS, JavaScript or PHP - whenever I type a bracket and press [ENTER], an extra indentation is added. E.g. below show's you where the caret ends up if I type a bracket and press enter: { | I need the caret to appear at the same horizontal point as the bracket, like so: { | I've tried messing with the indentation settings to no avail. Here are my current User Settings: {

The shortcut key to open console in Sublime Text 2 does not work

非 Y 不嫁゛ 提交于 2020-01-20 13:26:29
问题 I'm using Sublime Text 2 (version 2.0.1) on Windows 7, and I haven't installed any plugins for this software. I can use menu to open the console, but I cannot open console via ctrl + ` shortcut. How to fix this problem? 回答1: Magic Keyboard - US English - Apple The title itself causes this answer to show up in Google search results for any operating system. So even though the details ask about Windows 7, I am including picture of the shortcut to the Mac because it will save some people a lot

The shortcut key to open console in Sublime Text 2 does not work

穿精又带淫゛_ 提交于 2020-01-20 13:24:27
问题 I'm using Sublime Text 2 (version 2.0.1) on Windows 7, and I haven't installed any plugins for this software. I can use menu to open the console, but I cannot open console via ctrl + ` shortcut. How to fix this problem? 回答1: Magic Keyboard - US English - Apple The title itself causes this answer to show up in Google search results for any operating system. So even though the details ask about Windows 7, I am including picture of the shortcut to the Mac because it will save some people a lot

The shortcut key to open console in Sublime Text 2 does not work

和自甴很熟 提交于 2020-01-20 13:21:46
问题 I'm using Sublime Text 2 (version 2.0.1) on Windows 7, and I haven't installed any plugins for this software. I can use menu to open the console, but I cannot open console via ctrl + ` shortcut. How to fix this problem? 回答1: Magic Keyboard - US English - Apple The title itself causes this answer to show up in Google search results for any operating system. So even though the details ask about Windows 7, I am including picture of the shortcut to the Mac because it will save some people a lot

Running Python interactively from within Sublime Text 2

元气小坏坏 提交于 2020-01-19 04:58:09
问题 I have looked at all the answers on this forum but I'm missing something. I want to be able to hit Cmd + B while editing a Python file "myfile.py" in Sublime Text 2. This should open up a Python shell that loads my file and returns me to the interactive prompt so the namespace in my Python script is available. Setting the -i option in the build setting still closes the interpreter (see below) > 81 > >>> [Finished in 0.1s] I downloaded sublimeREPL but I'm not sure how to set the -i option. Any

Emulate codePen twilight theme

倾然丶 夕夏残阳落幕 提交于 2020-01-17 02:20:29
问题 I'm trying to make sublime text to look like codepen.io twilight theme. I was able to copy it besides for some categories. I don't know what the name of the scope is. Here's an image with the different words I want to change. (The text from the image is JavaScript.) I want to change the purple underlined words to purple, and yellow to yellow. What are the keywords (scope names) for the words? 回答1: The yellow underlined items in your example are class names (a special case of variable name in

SublimeText2: How do I include some method/Class and have Sublime suggest it to me?

喜你入骨 提交于 2020-01-16 18:51:31
问题 I am using SQLAlchemy with Sublime Text2 and I did the following from sqlalchemy import Column from sqlalchemy.ext.declarative import declarative_base Base = declarative_base() # engine = create_engine('sqlite:///:memory:', echo=True) class Transaction(Base): __tablename__ = 'transaction' id = Column() I want Sublime to see my imports/site-packages and suggest me to import it like what IntelliJ IDEA and Eclipse does. Does Sublime Text2 support this intelligence? Thank you 回答1: The Sublime

How to build kivy with sublime text mac OSX

青春壹個敷衍的年華 提交于 2020-01-15 03:55:06
问题 I want to be able to build kivy programs from sublimetext2 by pressing cmd+B I have added a kivy build as { "cmd": ["kivy", "-u", "$file"], "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)" } but each time the error is Errno 2] No such file or directory [cmd: [u'kivy', u'-u', u'/Python_code/Test.py']] [dir: /Python_code] [path: /usr/bin:/bin:/usr/sbin:/sbin] [Finished] What is that i am missing in making build setting? 回答1: Unless your kivy executable is in one of the directories listed in

Sublime2 and SublimeREPL

徘徊边缘 提交于 2020-01-13 18:17:51
问题 Using Windows 7, Python 3.2 and Sublime Text 2 I went through all of the instruction to install SublimeREPL and when I go to Tools -> SublimeREPL -> Python -> Python I get an error: "WindowsError(2, 'The system cannot find the file speificed.'). I went to the FAQ and added the following (exactly as stated) to the user preferences: { ... "default_extend_env": {"PATH": "C:/Python32"} ... }` When I try to save the file I get another error: "Error trying to parse setting: Expected value in..."