sublimetext2

Change font-size for a single scope in Sublime Text 2 [duplicate]

旧巷老猫 提交于 2019-12-23 16:26:37
问题 This question already has an answer here : Per-token font size in Sublime Text 2 (1 answer) Closed 3 years ago . Is it possible in a .tmTheme file for Sublime Text 2 to change the font-size in a single scope? I couldn't find any documentation on what keys I had available. What I really want to do, is make the name of the section in \section{name} in LaTeX in a different size font, with something like: <dict> <key>scope</key> <string>entity.name.section.latex</string> <key>settings</key> <dict

Boundary sensitive Cmd+D in Sublime Text

柔情痞子 提交于 2019-12-22 20:01:33
问题 I'm using Sublime Text 3 on OSX. Using cmd + D , I want to select the next instance of es but not if it's part of another word Given this code I select the first instance of es and see this Perfect! However, when I tap cmd + D a couple times, it will end up selecting this Super annoying! How can I make cmd + D only select the highlighted sections that appear in image 2? 回答1: If you select whole word and press Cmd + d it is going to select like in 3rd image. If you put your cursor (caret) on

How do I get Sublime Text 2 to work with Ruby on Rails?

╄→尐↘猪︶ㄣ 提交于 2019-12-22 15:26:54
问题 I'm new to Ruby on Rails. Here’s what I’ve done so far: I’ve installed XCode, Homebrew, RVM, Ruby and Rails. Now how do I get Sublime Text 2 to work with Ruby on Rails? 回答1: First thing you should do is install Package Control if you haven't already. This will make downloading packages and plugins way easier. Then you can look at some of the Rails specific packages to make your life easier when coding with Sublime Text. Sublime Text has native support for syntax coloring in .rb files, so you

How do I get Sublime Text 2 to work with Ruby on Rails?

心已入冬 提交于 2019-12-22 15:24:20
问题 I'm new to Ruby on Rails. Here’s what I’ve done so far: I’ve installed XCode, Homebrew, RVM, Ruby and Rails. Now how do I get Sublime Text 2 to work with Ruby on Rails? 回答1: First thing you should do is install Package Control if you haven't already. This will make downloading packages and plugins way easier. Then you can look at some of the Rails specific packages to make your life easier when coding with Sublime Text. Sublime Text has native support for syntax coloring in .rb files, so you

Sublime Text 2 LatexTools not launching SumatraPDF

大兔子大兔子 提交于 2019-12-22 14:14:53
问题 I'm trying to run the LaTexTools plugin in Sublime Text 2.0.2, build 2221. I'm running a 64-bit, Windows 8.1 computer. LaTexTools is installed and working - it produces a compiled PDF, which is viewable in SumtraPDF and Adobe Reader if I open it manually from the windows folder location. However after building the Tex file, the PDF does not automatically launch. When I try to shift the view to the PDF, Sublime Text throws the following error: Cannot launch Viewer. Make sure it is on you PATH.

Sublime Text 2 LatexTools not launching SumatraPDF

强颜欢笑 提交于 2019-12-22 14:14:33
问题 I'm trying to run the LaTexTools plugin in Sublime Text 2.0.2, build 2221. I'm running a 64-bit, Windows 8.1 computer. LaTexTools is installed and working - it produces a compiled PDF, which is viewable in SumtraPDF and Adobe Reader if I open it manually from the windows folder location. However after building the Tex file, the PDF does not automatically launch. When I try to shift the view to the PDF, Sublime Text throws the following error: Cannot launch Viewer. Make sure it is on you PATH.

Keymap Sublime Text 2 File Type?

北城以北 提交于 2019-12-22 11:24:47
问题 I am working on setting up my own keymaps and was wondering if there is the option to set keys to switch the file type that is being worked on. So for example, if I have a regular plain text file and want it to be a css file, I would have a keymap that would change the document type to css. Possible? If so, please explain to me how you have done this. Rob 回答1: While the individual shortcut solution is great, it requires editing the config files and most importantly remembering all the

Postgres on the command line with external editor not running query

▼魔方 西西 提交于 2019-12-22 09:36:52
问题 When I run \e on the command line while logged into the psql command line tool, my default editor, sublime text, duitifully opens. However, when I type in a query like this: create table tutorials ( tutorial_id serial primary key, title text, author_id integer references authors(author_id) ); Then hit save and exit, nothing happens! My query is not run. What am I doing wrong? How do I fix this? 回答1: I had a similar problem until I added the -w switch to export EDITOR. From http://www

sublime text 2 how to set environment variable

前提是你 提交于 2019-12-22 09:03:52
问题 i want set Environment variables. that says http://docs.sublimetext.info/en/latest/extensibility/snippets.html; Snippet Features Environment Variables Snippets have access to contextual information in the form of environment variables. Sublime Text sets the values of the variables listed below automatically. You can also add your own variables to provide extra information. These custom variables are defined in .sublime-options files. but i cant found .sublime-options file. i want set the $TM

brew linkapps for homebrew casks (automatically create symlink to /Applications folder)

我是研究僧i 提交于 2019-12-22 08:46:17
问题 I am using homebrew and homebrew cask to manage my installations on my Mac with OS 10.10.5. After installing an app using "brew cask install", no symlink in the /Applications folder shows up. For apps installed via "brew install", a symlink to /Applications can be created by running the command "brew linkapps" – is there something similar for homebrew casks? In this particular case, some features of the LatexTools package for Sublime Text 2 did not work (open pdf viewer automatically and jump