Questions tagged [sublimetext]

Sublime Text is a text and source code editor for Linux, OS X and Windows. PLEASE DO NOT USE THIS TAG UNLESS YOUR QUESTION IS SPECIFICALLY ABOUT SUBLIME TEXT ITSELF. Do not tag your IDE or source code editor in questions about unrelated topics.

Filter by
Sorted by
Tagged with
0 votes
0 answers
9 views

How to see remote files in a tree view

Is there a plugin/package available for sublime text 3 or 4 that will allow me to connect to remote server (sftp/ftp) and see folders and files as a "tree view"? I was using atom before ...
ggsplet's user avatar
  • 636
0 votes
0 answers
52 views

Sublime Text syntax highlighting best practice

I'm creating a .sublime-syntax file and have encountered an issue. I'm sure this is a common scenario with syntax files and there must be an elegant solution, but it's hard to follow existing ...
user7290573's user avatar
  • 1,332
0 votes
0 answers
14 views

How to reload unsaved Sublime Text 3 tabs from an auto-save session file

For the past 3+ years, I've had some unsaved Sublime Text 3 files (tabs) that would load automatically when I restarted my machine. Today, I noticed that all of the unsaved tabs are "gone". ...
equanimity's user avatar
  • 2,454
0 votes
1 answer
29 views

ModuleNotFoundError: No module named 'numpy', in Sublime IDE(Python)

Just downloaded Sublime text and was trying to test it. Simple programs which don't require importing anything are working just fine, but i m unable to import anything. I tried the simple import numpy ...
O2 Arya's user avatar
1 vote
0 answers
36 views

Sublime Text: embedding Lua code in html with highlighting

I'd like to embed Lua code in html by putting it between tags while having SUblime Text's syntax highlight and autocomplete for both languages, the way it automatically does with html/PHP. Is it ...
piuino's user avatar
  • 11
0 votes
1 answer
41 views

How can I fix my custom Sublime Text syntax highlighting?

I'm trying to create a very basic .sublime-syntax file to understand how the YAML-based definitions work and eventually create a full definition (the language is an old version of UnrealScript - ...
user7290573's user avatar
  • 1,332
0 votes
0 answers
14 views

Sublime text conda package doesn't find environments

I installed the sublime-text-conda package through the package control manager on Sublime text built 4152, on Windows 11. I already have Miniconda installed in the system with an environment that ...
mmonti's user avatar
  • 130
0 votes
0 answers
32 views

how to properly set up python with sublime text for python crash course [duplicate]

Attempting to teach myself python. Bought the book Python Crash Course by Eric Matthes. Having a little trouble just getting set up. Went to the python website and got the latest version. Then headed ...
dreise32's user avatar
0 votes
1 answer
22 views

How to combine two syntax highlightings in one syntax file for sublime text?

I want to be able to syntax highlight files like Vue.js where javascript and css appear in the same file like so: // Some JavaScript code function hello() { console.log("Hello"); } ==== ...
Lex Podgorny's user avatar
  • 2,648
1 vote
1 answer
50 views

Sublime Text 4: custom syntax highlight for specific YAML property names

I am writing a lot of OPEN API specifications in YAML, which contain some custom properties. Those properties are used by a script generating documentation from the specifications. Anyways, I would ...
sebeiron's user avatar
-3 votes
1 answer
92 views

Python auto importer for Sublime Text [closed]

I believe Sublime Text is by far the most optimized and powerful "text editor". However, for writing any code you need some IDE-like features that help you write code faster and more ...
Abhishek Kumar's user avatar
-1 votes
1 answer
24 views

Change pointer in sublime text

How I can change my pointer (item that appears after the click) in Sublime Text? I use Sublime Text 4. For example, I want to change color of pointer and size of pointer. I saw in doc of theme and ...
AlKharkov's user avatar
1 vote
0 answers
28 views

Toggle comment color in Sublime Text

Since I write a lot of comments in my code I would like to toggle color of them. They can be default color(grayish) while I'm looking at the code, but when reading and writing them I would like to ...
IGRACH's user avatar
  • 3,556
0 votes
0 answers
19 views

sublime text terminal will finish code before its done [duplicate]

So, I will run code in sublime text, in the terminal below, if there was an input, it will ask for it, but then no further code will run, it will say finished afterwards but that is it. I triple check ...
moni's user avatar
  • 1
0 votes
0 answers
28 views

Mark Text in Command Prompt in Sublime Terminus

I have been using Terminus for a while and it's a great plug in. I would like to be able to select text when I'm in it like you can with regular Windows cmd window. But when I press ctrl+m, like you ...
IGRACH's user avatar
  • 3,556
0 votes
0 answers
21 views

Screen Scroll when using multiple cursors in Sublime Text

When I manually add multiple cursors, the ones that are just below one another, when I reach the end of the screen Sublime is not scrolling as I continue to add multiple cursors. Is there any way to ...
IGRACH's user avatar
  • 3,556
0 votes
0 answers
13 views

Windows variable in Sublime Text Build

Is there any way to use Windows variable in Sublime text build. I have ih s build system: Is there any way to use Windows variable in Sublime text build. I have ih s build system: { "name&...
IGRACH's user avatar
  • 3,556
0 votes
0 answers
16 views

UnicodeMath plugin for SublimeText 3 stopped working

It used to work but haven't tried using it in at least six months. The way I used to use it was to hit the backslash key \ followed by a character code followed by a space. An example of a character ...
user2616155's user avatar
0 votes
0 answers
12 views

What to do if clicking the build button does not do anything in Sublime Text?

I am running a hello world code in java on Sublime text, and it is not doing anything. It is not giving me any kind of output, including error messages. I an running it through a custom Java build ...
Henry Sun's user avatar
0 votes
1 answer
40 views

How to indent symbol list in sublime-text?

Among other things, I'm using sublime-text to write stories. Those files have become large, obviously. So I decided to use custom syntax files to make it all easier to read; and now recently *....
WoodrowShigeru's user avatar
1 vote
1 answer
77 views

LSP-gopls in Sublime Text creates go directory in $HOME instead of a custom location

I am using Sublime Text with the LSP-gopls plugin for Go development and I have a custom GOPATH set: $HOME/Code/go instead of $HOME/go. However, every time I run Sublime Text, the directory go/pkg/mod/...
Modern Fears's user avatar
0 votes
0 answers
26 views

Merge text files in Sublime4 like append?

Yes, I want just combine files as simple as that: File1.txt line1 line2 line3 File2.txt line4 line5 line6 I want to open the above two files at once and receive File3.txt in a new tab like this ...
Suncatcher's user avatar
  • 10.4k
0 votes
2 answers
57 views

Regex match strings and not docstings or comment strings

I am trying to match valid strings in a bunch of code e.g.: myvar = "abc"->match 'abc'. dict['key'] = 'value' -> match 'key' and 'value' separately. default_val = '' -> match '' (...
Scott Paterson's user avatar
0 votes
0 answers
28 views

Convert Spaces between Text and Numbers to Tabs in Sublime Text

I am cleaning up some data received from a client. The data structure is something like - AdminUnit1Code<space>AdminUnit2Code<space>AdminUnit3Code<space>AdminUnitName<space>...
Ikhtiar Sobhan's user avatar
0 votes
0 answers
16 views

how to overwrite a macro activation string in SublimeText3

Using SublimeText3, I want to use this macro { "keys": ["ctrl+shift+u"], "command": "run_macro_file", "args": {"file": "Packages/...
Mikel Vergy's user avatar
0 votes
0 answers
25 views

Sublime Text, custom location Data/Packages

When I'm updating my snippets etc. and switch to my laptop I have to copy and update my snippets twice every time. I'm using the portable version of ST and it would be nice if I could have a custom ...
agiopnl's user avatar
  • 1,227
0 votes
0 answers
10 views

How to hide file path output in pdb debugging mode in SublimeREPL?

when I use the pdb debugging mode in SublimeREPL, I noticed that it outputs the file path, as shown below: c:\users\xiakn\desktop\search.py(1)<module>() -> import requests (Pdb) n c:\users\...
fusi's user avatar
  • 1
0 votes
0 answers
12 views

sublime_text files disappeared after folder renaming

In Sublime when I change the folder name or file name, the file disappears the next time I open the project. Is there a way to modify the project file manually to map to new file name/location?
kstn's user avatar
  • 557
0 votes
0 answers
25 views

'absolute' is not recognized as an internal or external command, operable program or batch file. In Sublime editor to work on lua love

I did every step that was required to run love2d on sublime text editor but its not working. Its giving me the folowing error after giving the path to love. 'absolute' is not recognized as an internal ...
Mahi Ma's user avatar
1 vote
1 answer
100 views

Can't install sublime text's package

I'm going to download the sublime text and download the package Package Control has been installed. by the way Nothing comes out when I type Install Package What should I do in this case? I try ...
임도영's user avatar
3 votes
3 answers
206 views

Sublime Text cutting text in half

I opened Sublime Text 3 recently on my computer that runs Arch Linux and the text on the tabs and bottom bar looks like they've been cut in half horizontally. I tried uninstalling the sublime-text ...
Generic_User_ID's user avatar
0 votes
2 answers
72 views

Why do I recieve an 'undefined local variable or method' message for any string i write on Mac's TextEdit?

I'm trying to learn to code, starting with ruby. While using TextEdit I was able to run numerical code, but any variation of puts "text" returned the error message of undefined local ...
Shalini J's user avatar
1 vote
0 answers
24 views

Remove suggestion after comma on Sublime-text

I need help to remove the suggestion after comma on Sublime-text Usually when I write a comma (,) I obtain this: Sublime suggestion but I don't need this suggestion, usually I'd like to go to new line ...
Francesco Del Prete's user avatar
0 votes
1 answer
31 views

IDE Setup; project package separation

I am on a self learning path into full stack development, and I am not sure how to formulate this question, or if I am using the right terminology here. My apologies for that. In the process while ...
IT Jeroen's user avatar
0 votes
0 answers
45 views

C# building on Sublime Text Build 4143 on macOS

I have an issue with Sublime Text and C# compiler, look, I'm studying C# fundaments and I work building the code on Visual Studio or Visual Studio Code, when I run the code this work fine but ...
cdangels's user avatar
0 votes
0 answers
59 views

Sublime terminus console closes after executing program/hitting bugs/inactivity

I'm using terminus in sublime to open/develop in a zsh but as of about a month ago, my shells automatically close when they become inactive (hit a bug, or successfully execute a program). This is ...
dtsoi's user avatar
  • 3
-1 votes
1 answer
24 views

SublimeText EsLint issues- cannot be located

nvm does not play nicely with eslint/sublime. I tirelessly tried to configure this with different paths/plugins. Various errors come out- such as .bin/eslint: line 2: sed: command not found, eslint ...
Ycon's user avatar
  • 1,860
0 votes
0 answers
59 views

sublime text plugin help: How to output to console using print in python

I am using a plugin in sublime text called Sidebar Enhancements. One of its functionality has some issue. So i added few print statements in the source code of the plugin I am not able to see the ...
Santhosh's user avatar
  • 10.4k
0 votes
0 answers
53 views

Sending code from Sublime Text 3 to R Gui only sometimes works

I'm using Sublime Text 3 with R-box and SendCode to send selected lines to the R GUI. However, more often than not that I press ctrl + enter to send the code to R nothing happens. I end up pressing ...
dthorbur's user avatar
  • 366
0 votes
0 answers
118 views

LSP Typescript for Sublime Text does not recognize element.style

I am using Sublime Text 4 with LSP-Typescript for Javascript autocompletion. In general it works, but it does not recognize element.style and it does not provide any autocompletion for this. Any ideas ...
ckc's user avatar
  • 355
0 votes
0 answers
22 views

Sublime Text editor layout missing display window for folders

I am using Sublime to follow along for a python tutorial yet I am seeing only a blank Sublime page. When I used to use Sublime the layout had a window on the left hand side of the screen that showed ...
LostinCode's user avatar
0 votes
0 answers
45 views

Copy and Pasting Rows / Cells from Google Sheets to Sublime Text

When I am trying to copy / paste cells / rows from Google Sheets to Sublime Text, they get copied in a single line. How can I make so that each row / cell is copied in a new line in Sublime Text? ...
Alex's user avatar
  • 527
0 votes
1 answer
42 views

Regex to match all occurrences but ignore if it starts with vendor

I'm trying to do a regex to match to find and match all anystring/css/ except vendor/css/ for example apples/css/ vendor/css/ kiwi/css/ Apple/css/ vendor/css/ should match apples/css/ kiwi/css/ Apple/...
Friday's user avatar
  • 11
-2 votes
1 answer
198 views

In Sublime Text, can I Find and Replace a variable value?

I'm using the latest version of Sublime text and I would like to Find & Replace a variable value in my list of URLs. So an example of the URLs in the list is; root/tesco-loves-baby-bath-and-room-...
Darren Harley's user avatar
-1 votes
1 answer
36 views

How do I set up comment highlighting in CSS?

(https://i.stack.imgur.com/2jAFj.png) A comment that starts with @ (https://i.stack.imgur.com/Zri42.png) You need to highlight it in green, like here How to do it? Preferably through a custom plugin.
kazarin0v's user avatar
0 votes
1 answer
52 views

Exit Debugger in SublimeREPL with sbcl

How do I exit the debugger in a SublimeREPL repl? I'm not very good at guessing keystrokes, and I didn't see anything in the documentation. As an example invoked by sending the current file to the ...
hsmyers's user avatar
  • 665
0 votes
1 answer
247 views

Sublime text TODO and others highlighting

I'm looking for a way to highlight TODOs and TODO-like in Sublime text. I tried Linter and SublimeLinter-annotations but I cannot find a way or a clear documentation to better highlight the TODO line. ...
user2342558's user avatar
  • 5,858
0 votes
1 answer
434 views

Sublime gives the error can't find php binary file at /usr/local/bin/php. What do I do if the php is in a docker container only?

I'm using Docker with MacOS. Every time I save a file in Sublime Text this appears Can't find PHP binary file at /usr/local/bin/php I previously made changes to block this but then on restarting ...
Martyn's user avatar
  • 11
-1 votes
1 answer
52 views

my html and css file is opening in binary form in sublime text

HTML file opening in binary form This file is from mac and my laptop is windows i have tried change the file name but nothing happen
Vaibhav Kumar Tondak's user avatar
0 votes
0 answers
26 views

How to have only an English keyboard layout in a CSS file

Theme: Plugin Development Sublime Text. I'll give you an example: I opened the CSS file Pressed "shift+3" or "shift+4" And I want to get the characters: "shift+3" will ...
kazarin0v's user avatar

1
2 3 4 5
69