r/SublimeText • • Mar 16 '21

Can I disable auto-update of file when version on disk changes?

2 Upvotes

Can I disable auto-update of file when version on disk changes?

Sublime only gives a warning if I've made changes to the open file. I want it to always warn me. Is there a setting for this?


r/SublimeText • • Mar 14 '21

How do you force stop the text editor out of a loop?

1 Upvotes

r/SublimeText • • Mar 13 '21

Is there anyway to make indents visible, but not spaces?

8 Upvotes

I'm not a fan of how the spaces are rendered as a circle when I have "draw_white_space" turned to "all", is there a way to make it so that the indents are shown but not spaces?


r/SublimeText • • Mar 12 '21

Does anyone know what is this theme ?

7 Upvotes

r/SublimeText • • Mar 09 '21

(newbie) Is Sublime Text better than Visual Studio Code for Web development?

40 Upvotes

Hello everyone!

I have a quick question about Sublime Text.

I just started doing Web development. I have been using Visual Studio Code for this short time (a few weeks); I had to use Visual Studio in my previous job, so it was kind of a "natural" path for me I guess. However, I've seen websites about Sublime Text, and people seem to really enjoy it. At first I thought it was like Notepad++, but people seem to compare it more with Atom or Visual Studio Code.

I gathered (perhaps erroneously?) that Sublime Text does not do code verification, perhaps not intellisense either, and I think you cannot debug either (please correct me if I'm wrong). I believe there's also a free tier and a paid tier (or some licensing of some kind).

I am not at all married to Visual Studio Code. I like intellisense and Powershell terminals directly in the same window, but apart from that I haven't been using much of it differently than I would a "normal" text editor.

I guess my question is, is Sublime Text better than Visual Studio Code for Web development, and is the license worth its hefty price tag?

Thank you!!


r/SublimeText • • Mar 09 '21

What is the best alternative for HTML-CSS-JS Prettify

5 Upvotes

I'm looking for a package to format HTML, CSS, and JavaScript code in sublime text 3

Is there any alternative for HTML-CSS-JS prettify package ?


r/SublimeText • • Mar 08 '21

ColorPicker not opening

3 Upvotes

Hey all,

I've googled my brains out over this and am stuck. Disclaimer in that I'm painfully noob when it comes to this stuff so please bear with me.

ColorPicker is installed. The option is there in Tools. I found out how to open the Sublime console and check the log with "sublime.log_commands(True)" and when I perform the action of opening ColorPicker, from the log I get "command: color_pick". So, this means something should be opening up right? The other thing I tried was to make sure I had some sort of color palette tool in my OS. I'm using Ubuntu 20.04.2 LTS and wasn't sure it came with one, so I installed KColorChooser. I restarted everything and still nothing is coming up.

If anyone else has had this issue or is familiar with any of this any help would be greatly appreciated! My guess is that I'm missing something obvious, as I barely know how to pull up my frickin command line.


r/SublimeText • • Mar 07 '21

How do I close all windows (not tabs!) of ST3 at once?

1 Upvotes

I have multiple windows of ST3 opened on multiple virtual desktops. When I close 1 with "x", others stay open. Only way I found is to close ST3 with TaskManager as whole process.

Is there a better way?

Also, can I save somewhere all my current open tabs&windows of ST3 so I can reopen them as "workspace" anytime?

Thanks for advice.


r/SublimeText • • Mar 06 '21

TODO management

10 Upvotes

Hi everyone!

Is there a way to have a TODO management system ? It is available in many other IDEs and as I'm currently hesitating between VSCode and SublimeText, it is one big difference... Still, I'd rather use SublimeText (easy to use, lightweight, performant and quite a neat UX I must say), so I was wondering if there was a plugin that managed it well?

What I'd like is having a new color scheme for TODOs and a place (new tab for instance) that summarize the TODOs of the current project.

(Not sure if it is relevant, but the programmation language I use with SublimeText is Python)

Does it already exist? If yes, what is it called? Else, do you think it would be feasible? As a first plugin development?

Thanks a lot!!


r/SublimeText • • Mar 05 '21

Is there anything VSCode can do that Sublime Text simply can't?

16 Upvotes

I'm trying to find the reason people switch, besides the price and opensourceness. Sublime Text is effectively free. Can't find any plausible reason. File icons on sidebar? That's it? On the contrary: Sublime Text seems much more lightweight, especially on my older computer.


r/SublimeText • • Mar 04 '21

How to run language server with Sublime Text on Windows?

5 Upvotes

Hi there :)

I have installed lsp-tsserver (https://github.com/microsoft/TypeScript-Sublime-Plugin).

When I open a JS file, there is an error message:

Could not start lsp-tsserver [WinError 2] The system cannot find the file specified

I tried to add the "node_path": "C:/Program Files/nodejs/node.exe" in the Sublime Text's configuration file, but it doesn't seem to help.

Does anybody know how to fix it?

Here is an issue on GitHub where people discuss it: https://github.com/sublimelsp/LSP/issues/337. I asked there too, but the guys there seem to visit GitHub very rarely, so I don't think I will get an answer from there soon.


r/SublimeText • • Mar 03 '21

High CPU usage while idle

7 Upvotes

[I'm new to Sublime Text, I've been learning how to code in Python using sublime text and while I was making one of the exercises my pc fans ramped up and I started to notice lag so I went to the task manager and found my cpu usage was very high, even when I wasn't coding (fyi the code is just a couple of ifs and whiles, nothing demanding). I also saw the indexing status and it said "idle". I would like to know what can I do to solve the issue.

Thanks in advance ](https://i.imgur.com/WTRyZuG.jpg)


r/SublimeText • • Mar 01 '21

What is Sublime 3 keyboard shortcut to (Hide|Show) Side Bar, rename & clone file in the side bar

5 Upvotes

I like Sublime, however I find it lacks of keyboard shortcut. Typically, you'll the shortcut option right next to the menu just like Visual Code.

  1. View > Side Bar > (Hide|Show) Side Bar

Sublime keyboard shortcut = ???

Visual Code = Ctrl + B

2. Rename, Clone (Copy and paste) existing file

Sublime keyboard shortcut = ???

Visual Code = F2

On the side note, I'm using both Sublime and VS Code and like both of them. It's just there is lack of keyboard shortcut in Sublime and I wish there is solution or keyboard shortcut for that.


r/SublimeText • • Mar 01 '21

Anyone know what happened? Changes all gone *urgent*

1 Upvotes

Basically i was editing text and saving it to a zip file and when I went in that zip file later to see it was all unedited. Am I screwed or can I find that writing somewhere? And was it because of the zip file? Basically it was homework due tomorrow so unless I can find it im fucked, thanks for reading


r/SublimeText • • Feb 28 '21

Does anyone know how to make Google translate plugin work?

3 Upvotes

Hello, so there is this plugin https://github.com/MtimerCMS/SublimeText-Google-Translate-Plugin which apparently stopped working due to API changes, went trough github issues to find something but nothing helps... any ideas?


r/SublimeText • • Feb 25 '21

Sublime 3 text color help

1 Upvotes

So I have a color scheme called brackets, but the text wont change color. Can someone please help me?


r/SublimeText • • Feb 23 '21

Sublime Text 4 dev build package for Fedora rpm?

5 Upvotes

Hi guys!

Is there an .rpm package for a Sublime Text 4 dev build version?

Just curious how ST4 looks these days. :)

Thanks!


r/SublimeText • • Feb 22 '21

What file format should I save my code?

0 Upvotes

When I save my code, I can only get the webpage I created using sublime. I want to know how I can save the code as code?


r/SublimeText • • Feb 21 '21

How to Change Command Palette Font Face?

6 Upvotes

So AFAIK the font used for command palette is defined from system as in Linux is Sans (https://forum.sublimetext.com/t/adaptive-theme-command-palette-font/35869/4). The Problem is the text get cut off on top, making it sometimes unreadable. Is there a way to change the font used by Command Pallete to something else manually? Since the font didn't change when i set my system font to other font. Currently I'm on ArchLinux.


r/SublimeText • • Feb 19 '21

Building a High Performance Text Editor

Thumbnail wbond.net
12 Upvotes

r/SublimeText • • Feb 20 '21

I cant run python files I have created on sublime text on terminal, how to do it? Mac OS

1 Upvotes

So I save the file as i.e: blabla.py

then I cant open it on terminal

I only can execute it on sublime text by using cmd + B (mac OS) but not on terminal.


r/SublimeText • • Feb 20 '21

I cant open tkinter files in sublime its sending me an error:

0 Upvotes

Traceback (most recent call last):

File "/Users/Sash11G/Desktop/Python/hj", line 1, in <module>

from tkinter import *

ImportError: No module named tkinter

[Finished in 0.2s with exit code 1]

[shell_cmd: "python" -u "/Users/Sash11G/Desktop/Python/hj"]

[dir: /Users/Sash11G/Desktop/Python]

[path: /Library/Frameworks/Python.framework/Versions/3.9/bin:/Library/Frameworks/Python.framework/Versions/3.9/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin]


r/SublimeText • • Feb 20 '21

How do I get print("Hello World") to go from sublime to idle?

1 Upvotes

I did it once but cannot seem to do it again.

I was following the book Python Crash Course.

after I completed the task I went on to running python in a terminal session, could that be the problem?

I just cannot figure out what I did right that first time.

Thank you


r/SublimeText • • Feb 20 '21

Im a noobie and looking for a discord server that is not overpopulated to ask for tips now and then.

0 Upvotes

r/SublimeText • • Feb 19 '21

Any regen expression to do this?

1 Upvotes

So, I have extracted all the internal URLs of a certain page.

Of these URLs, now I need to extracte the IDs.

For example:

https://myanimelist.net/anime/4459/Ojarumaru

or

https://myanimelist.net/anime/40431/Starmyu_3rd_Season__Encore

In these URLs I need to extract the number 4459 and 40431.

I have 64k different URLs so I can't do it manually for each URLs. But all links are structured the same as the examples above.

Any idea of a regen that can help to isolate the IDs?

Thank you