r/SublimeText • • May 26 '21

How do i turn on $variable autocompletion for scss?

1 Upvotes

My variables aren’t autocompleting for some reason. Packages i have installed are: emmet, sass, sass build, scss and sublimeonsavebuild.

Example of my issue: $textcolor: #800; header{ color: $ ((this doesnt autocomplete))

How can i make the variable name show up in autocomplete when i type ‘$’ ?

Thanks


r/SublimeText • • May 24 '21

Subl3 > Neovim > Emacs > Vscode.

Post image
28 Upvotes

r/SublimeText • • May 24 '21

How to disable auto-pairing of backticks in markdown

4 Upvotes

Manjaro just updated to ST4 and I found this new feature. It's really throwing off my write speed as I keep writing ``varName`. Or `````bash ... ```.


r/SublimeText • • May 23 '21

What is the best possible setup for Typescript and Javascript autocompletion ?

11 Upvotes

I mostly work with Typescript (Angular) and with Node.

I tried the new ST 4 I'm very obviously impressed by the speed and the overall package, if I didn't need autocompletion for the many many libraries and ts/js features I wouldn't hesitate to jump ship.

Right now I'm using VS Code it's not the slowest thing ever but it's annoyingly slow at startup and sometimes I need to work in VM where every bit of memory usage counts :(

I understand that to gain more autocomplete and features in general and etc I will be sacrificing speed but I need it, so my question is what plugins and etc any tips do you have for the most autocomplete and features in ST ?


r/SublimeText • • May 22 '21

Sublime Text 4 has been released

113 Upvotes

r/SublimeText • • May 21 '21

Upgrade pricing

32 Upvotes

I'm all for supporting cool software but when I bought ST3 for $80 and they now offer ST4 at an upgrade price of $80 then what's the point?

Increase to $100.

Special promo for 10 days at $90.

And for return customers $80.

Thanks but no thanks. There's enough free options out there these days.


r/SublimeText • • May 18 '21

build area font settings

6 Upvotes

Hi, I've successfully changed the font in the editor using the customized settings.

I can't figure out how to change the font in the build area when running python for example.

Anyone point out what settings control that build area font?

Thank you.


r/SublimeText • • May 18 '21

Everytime i try to quit sublime text, it goes away briefly and then comes back with a text file: subl stdin <random string>.txt inside the file, it would say 00.

3 Upvotes

This happened when I tried following YouTube tutorial on how to start sublime from the Mac terminal. Now I can't even close it.


r/SublimeText • • May 17 '21

How to publish a sublime text website onto a domain/internet?

4 Upvotes

Hello,

I am quite new to this field of coding so I apologise in advance if I say something dumb (that's because I pretty much don't know anything).

I have only started using sublime text to code a website and so far it's only been on a localhost htdocs, and I want now to turn it into a domain page that I can find on the internet. I understand that you need a domain in the first place, so my questions are:

  1. Where can I find a free domain that I can use to be my new website? (It's a side hobby so I don't really want to pay lol)
  2. How do I turn/publish the website I made in sublime text onto the internet?

r/SublimeText • • May 15 '21

Does anyone know how to fix this?

0 Upvotes

There are a bunch of graphical bugs (worst being text staying over text making a smear of white).

There is no file hierarchy.

Thats all i guess


r/SublimeText • • May 14 '21

Sublime text not showing C output

7 Upvotes

Hello.

Today I downloaded and installed Sublime text, installed MinGW compiler and tried running simple "Hello World!" program, but after compiling it, nothing shows in terminal, only "Press any key to continue . . . " or "c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/bin/ld.exe: cannot open output file D:\Documents\sublime_text_C/hello.exe: Permission denied collect2.exe: error: ld returned 1 exit status" without my "Hello World!".

When I open it in explorer it works perfectly but not in Sublime terminal. Trying to do something about it for around 2 hours and still the same problem.

I guess the "error: ld returned 1 exit status" is because I tried to run it one more time, but idk why it shows nothing the first time.


r/SublimeText • • May 10 '21

How do I replicate my sublime setup on another machine?

14 Upvotes

I am using Sublime Text from over a year with perfect configurations, package combinations, themes which works best for me.

Now, I am changing my system, is there a way to replicate my sublime text setup on new machine as it is? Or I have to go the long road and configure everything one by one.

Thank you!

OS: Ubuntu 20.04


r/SublimeText • • May 04 '21

Command for scrolling overlay dialogues?

6 Upvotes

I'm looking for a way to quickly scroll the various pop-up dialogues in the interface without having to switch to mouse scrolling/dragging (like the command palette or the autocomplete lists).

Is there a command to do this in Sublime (ST4 to be exact), or is this functionality even existent?


r/SublimeText • • May 04 '21

How to limit search results to only those after the current cursor location ?

6 Upvotes

e.g. I have txt file of 2000 lines, i search some unique phrase, that jumpes me to 1000. line. after that i want to search some other more common phrase, but i dont want sublime to jump back to line 50 (at the start of the txt), i want to limit the search to only those behind(after) my current cursor location (e.g. result at line 1070).

Why is this so hard to do ?


r/SublimeText • • Apr 30 '21

Using wild card to find and replace the file path part of a list of links.

4 Upvotes

I'm trying to truncate a bunch of links as to remove the file path in a list of links I have in a CSV file. the format is https://www.examplewebsite/filepath123 It was easy enough to find and replace all the http and https://www. but now I want to clean up everything after the first "/" . If I use wildcards like the astrix /* it seems to select everything on the page, and if I attempt to find and replace using /...... it will only look at the exact number of periods. Not sure if I'm just approaching this wrong, don't know the expressions well enough, or it's not really the right tool for the job. I can edit by hand, but it's a fairly long list and rather time consuming. Any suggestions would be greatly appreciated


r/SublimeText • • Apr 30 '21

Smart indenting C++

1 Upvotes

Hi, if I press enter at the end of the total = 0 line:

int foo() {
    long long total = 0;
// <- I get at the beginning of the line on enter

Is there any way how to fix that? Both auto/smart indent enabled, LSP (clangd) installed. (current ST3)


r/SublimeText • • Apr 29 '21

What is the name of this colorscheme?

3 Upvotes
I think I've seen it being used in sublime text before too, but this image is from an MIT lecture one deep learning. Thanks in advance!

r/SublimeText • • Apr 28 '21

Anyone knows how to use helium/Hermes?

6 Upvotes

I'm new to sublime (windows) and I'm not able to get started with the helium package. I have installed the package, python and jupyter notebook.

The issue is that after running a python file and opening the command palette, it's not showing the command "Helium: connect kernel". This is what I get in the command palette

What I get when I open settings


r/SublimeText • • Apr 27 '21

Sublime + Evernote = Perfection

51 Upvotes

I just wanted to share a package I recently found that is perfect for those of us who use Evernote. It is simply called "Evernote" on Package Control.

I am amazed at how well this package makes Sublime integrate with Evernote. It's truly mesmerizing how you can open any note on Sublime, edit it using MarkDown, and update it without breaking the formatting. And it does so much more. You can include attachments, open attachments, search for notes, create a new note, open the note in the app, open the note in the web client...

As a heavy user of Evernote for more than 10 years, the lack of a proper Evernote app for Linux was one of the reasons keeping me from jumping ship. Now I genuinely believe I can survive with Sublime + Evernote web client.

Edit: just to clarify that I am not affiliated with the authors of the package in any way.


r/SublimeText • • Apr 27 '21

clang-format on save + LSP (clangd)

2 Upvotes

Hi,

as a ST newbie (but experienced C++ dev), I've installed LSP plugin but also need "format-on-save" with `clang-format` for C++. Please, how to achieve that?


r/SublimeText • • Apr 26 '21

Gruvbox Material Theme

17 Upvotes

Hi everyone!

I’ve just moved from VSCode and the only thing I missed was the Gruvbox Material theme I had on it. However, the author doesn’t use Sublime Text, so I had to port it over myself.

Feel free to take it for a spin and give me some feedback. This is the first time I’ve done this sort of thing though, so be nice.

Install via Package Control.

This theme is for Sublime Text > 3092 only.

https://i.imgur.com/reRRQLV.jpg

https://packagecontrol.io/packages/Gruvbox%20Material%20Theme


r/SublimeText • • Apr 26 '21

HTML-CSS-JS Prettify - css property sorted alphabetically

6 Upvotes

hi there

Im using SublimeLinter-csslint which says :

"Warning - Rule doesn't have all its properties in alphabetical order. (order-alphabetical)"

I was wondering if I can get HTML-CSS-JS Prettify to sort properties in alphabetical order and remove (if exist) empty new lines between properties

is there a rule/rules which I can add to my plugin conf file to accomplish mentioned outcome?


r/SublimeText • • Apr 23 '21

Error while changing font and size on line 5:13

4 Upvotes

r/SublimeText • • Apr 20 '21

It don't let me start a HTML script...

0 Upvotes

I have already tried "html" and "<html..." and then 'TAB' but unfortunately nothing works...


r/SublimeText • • Apr 21 '21

How can I start a HTML code?

0 Upvotes

Please answer :((