FAQ Database Discussion Community

## Sublime Text: how to enable text replacement

sublimetext
In Notepad++ when I select a text and type something, it automatically deletes the selected text and replaces it with what I'm typing now, even if I'm typing quote characters. In Sublime, if I type quote characters it inserts these around the text instead of replacing it. Is it possible...

## Where to find composer's global packages?

php,sublimetext2,composer-php,sublimetext
For a plugin for Sublime Text I was required to install a composer package globally. In order to do this I had to run the following command: composer global require "asm89/twig-lint" "@stable" The installation started running and a few seconds later the package was installed. Voila! Well, not really. Step...

## Sublime on Save Build exclude pattern

regex,sublimetext,regex-negation,sublime-text-plugin

## Regular expression substitution in sublime text

regex,string,sublimetext2,sublimetext
I have a lot of strings to edit and replace with the support of regular expression. My strings are like: 'word1 'word2 word3' 'axxx' 'bx bxxxxx' and so on. What I need to do is selecting the last part of the line and replicate it again, so basically what I...

## sublime text 2 shows whole HTML code inside php file in single color?

sublimetext2,sublimetext
sublime text 2 shows all my HTML code inside index.php in single color. same for other php files that contains HTML code. there is no color coding very strange! is'nt. although files containing only php code are normal. i tried every theme and color scheme but same issue exists. ...

## Using virtualenv with Sublime Text 3 and SublimeREPL

python,virtualenv,sublimetext,sublimetext3,sublimerepl
I'm trying to setup ST3 to work with Python's virtualenv, running on Windows 8.1. I usually use SublimeREPL with my global Python install to run files. Now that I'm using venvs, though, I'm having trouble getting anything to run. Here's what I've been trying: I have a parent directory with...

## Key bindings for navigating through selection regions

sublimetext,sublimetext3
When you press Ctrl+F, enter some search query and click on Find All (or hit Alt+Enter), Sublime Text 3 will find and select all occurrences of searched term found in current document. It will even count then, writing X selection regions in status bar. I'd like to add a functionality,...

## How to delete everything to the right of selected text in Sublime Text 3 ?

sublimetext,sublimetext3,sublime-text-plugin
I am not sure if this possible. I am just checking to see if it is. Is there a way to delete everything to the right of whatever I select in Sublime Text ? ...

## how to let pyflakes ignore some errors?

python,sublimetext,pyflakes
I am using SublimePythonIDE which is using pyflakes. There are some errors that I would like it to ignore like: (E501) line too long (E101) indentation contains mixed spaces and tabs whats the easiest way to do that?...

## Sublime Text: set language for each file

sublimetext3,sublimetext
In Sublime Text (3), I can select the dictionary to use for spell checking. However, this setting seems to be global rather than on a per-file basis. This is annoying when I'm working on multiple files that use different languages. How can I achieve that Sublime Text remembers what dictionary...

## Sublime - put # at the start of a line rather the start of the code when comment

python,sublimetext2,sublimetext,sublimetext3
When inserting a comment into Python via super+/ , it puts the # at the start of the code, like this: I want to put the # at the start of a line, like this: Are there any settings that allow me to do this?...

## What is the most practical way to list all the installed packages in Sublime Text 3?

sublimetext,sublimetext3,sublime-text-plugin
I installed a bunch of packages lately on my Sublime Text 3 Editor. I don't keep track of what I installed, but now I would like to know all the packages that I've installed, just to keep as a reference. I tried type : cmd + shift + P ,...

## Sublime Text 3: Anaconda show lint errors hotkey?

sublimetext,sublimetext3
How do I add a hotkey to view lint errors? It shows me that there is an error, but doesn't tell me what it is. If I want to see the errors I have to right click -> Anaconda -> show error list which seems very inconvenient. I think it...