Questions tagged [sublime-text-2]

Sublime Text 2 is a cross-platform GUI text editor for Windows, OS X and Linux.

Filter by
Sorted by
Tagged with
0
votes
1answer
22 views

Disassociate Sublime with batch files

Windows user - I made the mistake of associating a batch file with Sublime so each time I open it, instead of running, it opens in Sublime I have not access to the command prompt (hence the reason to ...
0
votes
0answers
84 views

How to install pandas on Sublime Text 2?

I'm new to programming with Python, and so far it's been a headache to create a build environment- and need your support and expertise in this area. Background I'm running a MacBook, and using ...
0
votes
0answers
10 views

Sublime Text 3: Change “Auto Correction” text to desired text

In Sublime-text 3, when I type "func" and enter "TAB" key, it enters "function" text. How can I set the result text "function()" for same operation?
0
votes
1answer
130 views

Sublime regex replace for a specific character at the beginning of the word

I'm trying to remove character N starting at each multiple words. If you check the line below you will notice some words also have character N. For instance changing N'KISWAJKN' to 'KISWAJKN' (2019, ...
0
votes
1answer
42 views

Sublime SFTP plugin

I am facing a problem with SFTP plugin for sublime. It works and upload files and folders properly, but when a file is located in subdirectory of directory it does not actualy upload the file. It ...
-1
votes
1answer
19 views

Sublime text: How to get rid of the extra “window”

I use Sublime-text to type LaTeX on a Ubuntu Machine. My sublime currently looks like And I want to get rid of the extra "window" on the right, as it was before. I don't know why this happened, ...
0
votes
2answers
358 views

How to remove lines that not containing any uppercase letters or lowercase letters or numbers notepad++

I want to keep only lines that contain at least 1 uppercase letter at least 1 lowercase letter at least 1 number Example: :soTest.@1rTr :$TEST%.TER12TB& :-G5O6D$G%R@RS :sbg^45re$55 :@65RR$#...
0
votes
0answers
8 views

Collapsing everything in a parenthesis in a text file

Is there a way to dynamically fold and unfold parenthesis using something like sublime text? For example: This is my sample text, I want to collapse the stuff (in here). Is there a way to do this ...
1
vote
0answers
6 views

Select Folder option in Dreamweaver is missing

I have a question about Adobe Dreamweaver: I have two code editors, Sublime and Dreamweaver(CS6 and CC2019 ). Sublime has the option select folder to include a project at a side panel. But in ...
0
votes
0answers
68 views

Running D3/HTML using Sublime Text or Visual Studio Code

I have seen tutorials on D3.js/HTML. However, I do not see much help on how to execute these programs in Windows either using the command line or Run from Visual Studio Code. The question I have is ...
0
votes
1answer
121 views

Workflow to encrypt files I use in a text editor

People say it is a good idea to encrypt your file system and/or encrypt files. I'm wondering how I do this with Sublime Text editor. I'm wondering if I need to do this, essentially: Encrypt all files ...
0
votes
1answer
539 views

How can I set a specific background color on Sublime Text?

Note, I don't want to change or set another Color Scheme. I just want to specify the precise color (R,G,B in Hex) I want for the background (or any part of the sublime window). Is that possible? I ...
0
votes
1answer
656 views

Find and replace only specific characters in Sublime Text

An example of what I want to do.. I have tons of: name : 'SomethingXX', I want to become: name: 'Something Else', Where Something is different for every entry, so I can find all using name : '((.*?...
3
votes
2answers
145 views

Sort packs of lines alphabetically

Note: the complementary question is here: How to separately sort lines within multiple “chunks” separated with headers? So what I did find an answer to, is how to sort lines in a text files ...
2
votes
1answer
2k views

How can I format selected java code in sublime text .txt file?

Is there any extension or technique for formatting java code in sublime text? For example, I have this code: static void test() { Pair<Integer, Integer>[] intPairArr = new Pair&...
0
votes
1answer
250 views

SublimeText highlighting for plain text

Sublime has highlighting plugins for almost any language, however often i use raw text format to write down some ongoing notes. When the content gets big enough it is useful to have some ...
1
vote
1answer
2k views

How to shift a block by exactly one space the right/left in Sublime

I know one can move a block of text using ctrl+ ] or cmd + ]/[. Is there any way so that I can move a block by exactly one space to left or right. Thank You
0
votes
1answer
100 views

Selecting maximized window sometimes selects windows behind it

To better explain the issue, lets say that on one monitor I have MySQL Workbench maximized and on the second monitor I have a browser (Chrome) open. Lets say I also have Windows Explorer open, it is ...
2
votes
2answers
2k views

Using regex in the “replace” part of a search/replace?

I have a large amount of tab-indented (outlined) text that is missing a leading bullet character: some point a sub-point I want to replace each tab by 2 spaces, and add a hyphen ...
1
vote
2answers
104 views

What is the significance of hosts file and is it used as a loophole/bypass restrictions?

I came across one question on SO which instructs the user to fiddle with the hosts file in order to bypass a "update check". The software in question is Sublime Text Editor and the OP is asking for a ...
1
vote
2answers
174 views

Sublime Text 3 Automatically adds PHP to Ignored Packages

I'm running Sublime Text 3 with the following Packages: "PHP Companion" "Package Control", "PHP Completion" "PHP Getter and Setter" "PHP Grammar" "PHP Snippet" Everytime I start sublime PHP ...
1
vote
1answer
6k views

Sublime Text/How to search with multiple criteria

Screenshot Hello, I would like to utilize a "Find and Replace" function in the sublime Text 3 with multiple criteria but didn't have a good luck to find one yet. I googled it and people said that ...
0
votes
1answer
145 views

Is there a way to highlight all lines containing a string, instead of just the string in Sublime Text?

Since the text search highlights the text it's actually pretty easy to search for text in long texts in the little scroll bar. Though I have the small gripe of not being able to see small texts in ...
0
votes
1answer
136 views

Sublime Text - refresh Browser then get focus back?

I work with a lot of CSS, requiring me to type in sublime text, refresh browser multiple times. To save time, I installed the Refresh Browser Extension (http://www.hongkiat.com/blog/sublime-text-...
1
vote
0answers
540 views

“grey out” folders and files which are ignored by git in sublime text 2?

When I have folders or files that are ignored by git then PHP storm "greys out" the files in the project panel. In this image node_modules is ignored: Is there a way to do the same for Sublime text ...
3
votes
2answers
1k views

How to edit a Netgear .cfg file on a mac?

I have a backup from my router Netgear. It created a file backup.cfg. When I open it in an editor (sublime, vi), it looks like it is encrypted. When I open it into sublime, it looks like this: ½...
2
votes
1answer
987 views

Disable file close warning dialogbox in Sublime Text

I primarily use ST as my temporary notepad. Now when I hit Ctrl+W it is producing me this dialog However 99% time my intention is "Close Without Saving". Is there a way to disable this popup? Since ...
1
vote
1answer
393 views

How to have Sublime Text's Vim mode and AutoHotKey work without conflict?

Sublime Text is by far the best text editor I've ever seen, and AutoHotKey is the scripting program I can't live without, especially the hotstrings feature, which allows me to create abbreviation-...
0
votes
1answer
146 views

Sublime Text: how do I edit the multiple line caret insertion key binding?

I can never remember what Sublime Text calls its caret/cursor/line insertion above/below command in the key bindings. On some platforms it is Ctrl + Alt + Up (or Down) and a caret (for typing) ...
3
votes
1answer
579 views

Highlighting start and end tags?

I'm currently evaluating Sublime Text Editor (build 3126). One of the features I would like in an editor is to clearly highlight the start and end tags in source code. At present, in Sublime, I see ...
-1
votes
2answers
7k views

How can I fully kill a program and/or python code running on Windows?

I was running Sublime Text 3, but it seems I've created an infinite loop somehow. I was writing an image to file but when I look in the folder I see that the image is flickering between one of those ...
1
vote
1answer
671 views

how to specifically control the smoothness of scrolling in Windows?

There are some applications like Sublime Text, Notepad++, or Netbeans on which the touch-pad scrolling of the laptop doesn't work effectively. If I try to scroll using the two finger touch, the whole ...
2
votes
1answer
5k views

Editing PDF via text editor

I'm trying to add page labels to a PDF file by modifying the file directly with a text editor. When I open the PDF in a text editor and save it, without making any changes, the file becomes corrupted ...
0
votes
0answers
56 views

Change location of APPDATA for SublimeText2 (windows)

I have a HOME folder on a broken network share which is slow (don't ask) so I'd like to make ST2 honor a different folder for its AppData\Roaming stuff. How can I do that? Setting USERPROFILE and ...
0
votes
0answers
21 views

In Sublime 2, is it possible to add text-column functionality to simple text files, for code-clarity?

This is hard to explain, but I'm not talking about re-indent; I'm asking if there's a simple way for simple text files to all match to the same formatting, using spaces, like a table with columns. ...
3
votes
2answers
1k views

Open empty Sublime Text window when launching from start menu

I have several Sublime Text windows open. I want to open a new empty ST window (to be more precise: with one, empty tab) by clicking on ST in the start menu. But when I click on it, an already-open ST ...
-1
votes
2answers
222 views

arch linux: sublime text text not alligned vertically

so instead of my code being vertically aligned like usual and in any other code text editor it has weird vertical alignment like i am typing in Microsoft Word or something. anyone have an idea what ...
0
votes
0answers
66 views

Windows XP: Add a program to the list of programs that can be mapped to open a filetype

I have a filetype (.xyz) that I would like to map to a text editor (sublime). It is currently mapped to open with notepad. Attempts to map .xyz filetype: 1) Open file explorer, select .xyz file and ...
1
vote
0answers
1k views

Shortcut to open another workspace in sublime text

Sublime text lets you switch current project workspace with ctrl+alt+p on Windows/Linux. I find myself often referencing older projects where I want to open another project quickly without closing the ...
1
vote
2answers
196 views

How to replace text in Sublime without moving the cursor or viewport

I am using Sublime Text to find some text in a file and make some changes to it, using the "Replace" command. When the thing I want to change is selected, if I click the "Replace" button, pick the "...
1
vote
1answer
45 views

Sublime text 3 asks me to choose a default language whenever I open it

Sublime text 3 asks me to choose a default language whenever I open it. I have the latest version, installed on windows 10. Each time I open sublime I see this Even if I pick english or whatever, the ...
1
vote
1answer
526 views

Sublime 3: How to make TAB reindent current line or the selected region (if present)?

TAB key by default just puts a tab, and only indents depending on several contexts, which I don’t understand quite well. { "keys": ["tab"], "command": "reindent", "context": [ { "key": "...
3
votes
2answers
755 views

Sublime text: Swap line and indent

I recently gave atom a try. Despite being too slow, there was one thing I liked: the way auto indent worked, basically everywhere. I found here how to make Paste + Indent the default in sublime text. ...
0
votes
1answer
364 views

Sublime Text Editor 3 doesn't show traceback when running Python code

Yesterday I installed ST3 and installed some plugins, but I noticed that if Python has a syntax error then it shows an error. But when a statement has a non-syntax error, then it shows nothing. Like ...
2
votes
2answers
2k views

Safe redo (Ctrl-Y)

In ST (Sublime Text for short) the redo action works very strange and inconvenient way, from my point of view. First test. Type some text, for example Foo and then press Ctrl-Y one or several ...
-2
votes
2answers
43 views

What is this texteditor's counterpart in Windows?

I am learning CSS and want to know what the following texteditor is: Is there a counterpart for Windows? There seems to be a Sublime plugin, when you type: div.classname then perhaps press some ...
0
votes
1answer
473 views

How to find wild card value and append to it

I have part of the hundreds of lines similar to : [vc_single_image image="55"] How can I change the lines so they all get appended img_size="full", resulting in [vc_single_image image="55" ...
4
votes
1answer
1k views

Force Sublime Text to open on current virtual desktop in Windows 10

I often have several virtual desktops open in Windows 10 with various programs in each one. I often want to open in my current virtual desktop a new instance of a program that already has a window ...
2
votes
1answer
81 views

How To find a word and replace with changing pattern

I have a text like the following: case "UID": if (!Convert.IsDBNull(objDataReader["XYZ"])) { objQualitativeAssessmentBiz.XYZ = objDataReader["XYZ"].ToString(); } break; case "GeneratedChaseId": ...
2
votes
2answers
4k views

How to remove rectangular box around text from sublime text editor

I want to remove the crummy boxes around text show in: I can't remember which package I had installed for this. Can anybody tell me how?