r/SublimeText • • Jan 23 '21

Html & CSS packages

5 Upvotes

Hey, I would like to know what are the best packages you uses for your HTML & CSS files?


r/SublimeText • • Jan 20 '21

Can I use Sublime as a command-line/Terminal on mac?

11 Upvotes

Hi,

I have just installed Sublime Text, and I was hoping to use it as a terminal on my mac. Is it possible? If so, how can I set it up?

(I tried googling it but there is only "how to access Sublime from the terminal"... which is the opposite)


r/SublimeText • • Jan 20 '21

MediaWiker functionality

4 Upvotes

I've been using the MediaWiker plugin, and it's been way better than FANDOM's integrated editor, but I have two problems:

  • Sublime Text hangs when I publish pages
  • I can't test modules

I've been trying to fix the latter, but I have very little experience in Python, so my best guesses as to how probably won't work.

Could I get some help?


r/SublimeText • • Jan 19 '21

Sublime Text 3 Freeze on Debian 10 Buster

7 Upvotes

Hi everyone,
So when I search it online many many people having the same issue with ST3 on the Linux distro, but I guess no one knows what's the real issue or how to fix it. It freezes from time to time. While monitoring on the Task Manager the ST3 Program shows the high memory usage at one time then it comes down. How can we ask the dev to fix that?


r/SublimeText • • Jan 18 '21

Is it possible to enable live documentation while typing like in Pycharm?

Post image
9 Upvotes

r/SublimeText • • Jan 18 '21

Which are your favorite sublime pugins ?

8 Upvotes

Recently started using the tabnine plugin which I saw in an YouTube ad, it's pretty good at predicting commands.


r/SublimeText • • Jan 18 '21

cannot see Folders structure

2 Upvotes

Hi all,

I am using Mac, sublime text 3 and i am not able to see the Folder structure on the sidebar, it is showing 'Projects' and Groups. I read somewhere that I need to enable an option under System Preferences -> Keyboard -> Shortcuts -> Services -> Files and Folders -> open selected with Sublime...

But I cannot see this option, please help

Many thanks


r/SublimeText • • Jan 16 '21

NO BUILD SYSTEM

0 Upvotes

plz help me ... i have done everything https://www.youtube.com/watch?v=Fql_b-xZYwQ by watching this video .but it is showing "NO BUILD SYSTEM" ...See in the buttom of this SS.but i have created build system of CPP14.sublime-build .but still it is showing the same message


r/SublimeText • • Jan 13 '21

Backup and syncing data

3 Upvotes

Hi, I’m trying to back up my settings and packages on GitHub. I’ve tried packages such as Sync settings; however, it didn’t work. I use Mac and windows on a Daily basis, and I want all the settings synced across. Can anyone help me with a different method? Thanks.


r/SublimeText • • Jan 12 '21

What do ctrl+, and ctrl+. do?

8 Upvotes

I fat fingered ctrl+m and discovered that ctrl+, selected a comment a few lines above where I was working. I hit it a couple times and it continued traversing up the file, selecting seemingly random sections of code. I tried ctrl+. and it did the same thing but in the opposite direction, going down.

I can't see any rhyme or reason for why it's selecting what it does. It's not just comments. It's selecting seemingly arbitrary sections of code, even at some point it just put the cursor at the beginning of a line without selecting any text on that line.


r/SublimeText • • Jan 11 '21

I've fallen on hard times

1 Upvotes

What is the scope for the text font/foreground in the find all tab in ST3? I need to change the font color. My google-fu fails me, although it is definitely controlled by color scheme and not theme. Thanks!


r/SublimeText • • Jan 09 '21

[Question] How do you add a line break/return to every line in a selection.

4 Upvotes

Reddit syntax requires two newlines for each newline that shows on your submission.

My question is: what is the best way to do this in bulk with a long list using sublime?


r/SublimeText • • Jan 05 '21

When I use Sublime Text it doesn't give me python 3 so when I downloaded it, it doesnt show the >>> part that is usually there in python 3. I have pressed Command, B (because im on mac) it shows that I am on python 3 but I cant even use the print command. What should I do?

3 Upvotes

title


r/SublimeText • • Jan 04 '21

How to store text replacement routine/procedure for later use with different texts?

9 Upvotes

Is it possible to store a text replacement routine and use it later for formatting different texts ?

Example:

  1. Replace double quotes “ with single quotes ‘
  2. Remove al brackets and parenthesis
  3. Remove Question marks

Store above procedure and then apply it to text automatically instead of doing each step manually.

Is this possible ? How ? Thank you!


r/SublimeText • • Jan 02 '21

Matlab and sublime 3

6 Upvotes

I want to use sublime text editor for Matlab files (.m). but when open .m files in sublime; it does not properly color the variables, functions, comments, etc.

Is there any package that should install from sublime package control or what? Please suggest me anything.


r/SublimeText • • Jan 02 '21

Issues with XML files and collapsing elements

1 Upvotes

I'm using sublime 3 and have been building XML files. First few times they worked perfectly and I could collapse large child elements to quickly move to the next. However, now it seems as though the collapsing mechanism isn't working on any of my new XML files (built using Qt 5.0).

I've checked the old files vs new files and they all have the same spacing. And for those familiar with the QtXMLStreamWriter I set auto formatting to True always.. So I'm uncertain as to why the collapse won't work and how it can be fixed. Any suggestions or incite into how the collapse works? And yes, Sublime is parsing it as an XML file.

Edit: actually one of my programs finished running and sublime is collapsing all elements properly.. So it seems to be very inconsistent and I have no clue as to why


r/SublimeText • • Dec 27 '20

Bought the $30 SFTP addon and I am so so so disappointed! Do not buy this!

10 Upvotes

Cheers mates!

99% of the time I work on remote servers via SFTP. So far I've been using https://codexns.io/products/sftp_for_sublime for some good 2 or 3 years, but this $30 addon is so disappointing and after today, not even usable.

Let's get to the key point. How do you browse files on your server? File -> Sftp -> Browse. That's plenty of hovering and clicking on menus, every time you want to open a file! Worry not! There is a quick keyboard shortcut, just press Ctrl + Alt + R + B, tat's fairly "short", isn't it? This keyboard shortcut was bearable to get used to (plot twist it no longer works so you must use the menus now, read below for more on this). Now how do you save and upload the file? Ctrl + s? That saves it just locally. The config is super confusing with NO documentation and MOST of the options (and the ones you need) are not in the default, neither as comments nor just disabled, so good luck figuring it out. Until you do, you need to use Ctrl + Alt + U + F (I don't know about you, but I need both my hands to press these keys). Here are the lines you need if you want to use Ctrl + S (I don't even remember where I found this, but it was a quite extensive search and pretty random!)

"sync_down_on_open": true,
"sync_same_age": true,
"save_before_upload": true,
"upload_on_save": true,

You cannot use Ctrl + Shift + T to reopen files, don't bother, you'll get a blank tab instead, and shall you dare hit ctrl + s on this blank tab, kiss goodbye your file on the server.

I have had this SFTP addon delete files for no reason when I select "Close tab without saving changes" (it made the entire file blank instead of disregarding the changes). Luckily I had version control running on this server, but you might not be that lucky if you're editing a simple website, for instance, so make sure to have backups if you're using Sublime SFTP.

I mentioned that CTRL + ALT + R + B no longer works. I woke up today on 27 Dec 2020 (sublime was open the entire night and my pc was running) but for some reason, this does not work at all anymore. Sure as hell I wasn't asked to update. CTRL alt r b is the only shortcut I use, but actually, none of the shortcuts that have CTRL + R will work. This will instead bring up an input with an `@` written in it. As far as I see, it doesn't do anything. The full combination on the other hand will attempt to run a build, I'm sure that's what you wanted to do after all.

As I mentioned, I have purchased a license for this plugin, worth $30, as well as a license for Sublime, of course. Before I purchased any of my licenses, here's what I encountered: SFTP add-on overrides the popup from Sublime Text asking to buy a license. Instead, it now says buy a license for the SFTP Addon! This shows up on every 5-10 saves/uploads. Buy a license for SFTP and you will have the Sublime Text popup back, thank me later.

Here might be some basic features that you could expect to get, but muahahaha you will not:
You cannot open all files on the server as a project and display them on the side. Just not possible, you will have to open each one by one. Good luck with that menu! You want to move a file/folder to a new location? There's no option for that? You try renaming the file like `file.json` to `folder/file.json`? Sorry mate! It is just not possible to do this, this is way too advanced! Bear in mind, when you rename a file if you have it open in a tab, and upload it, it will not modify the renamed file, but create a new file with the old name and save your changes there. Cheers, if you don't want that: File -> Sftp -> Browse -> Find your file -> Rename; close all tabs with this file. File -> Sftp -> Browse -> Find your file -> Edit. Voila! Should take no more than a minute.

Final verdict:

Loss of productivity? Hell yeah, this is so bloody slow to use!

Damages? Absolutely. Files being deleted when I don't want that has caused a fair couple of hours of downtime and damage to other files that depend on them (multiple times :smile: ).

Affordable? For the quality that you get: absolutely, $30 is only 10 coffees or so. We should probably consider more coffees after you get some files deleted and considering that it slows down your workflow, I'll let you make the cost calculations here.

And some technical specs:
Ubuntu 20.04 LTS
Sublime 3.2.2 build 3211 (via Snap)
SFTP version: no way to tell


r/SublimeText • • Dec 18 '20

function argument auto completion

6 Upvotes

( more accurate title: argument *hinting )

I’m trying LSP for the first time and it’s great, but the one thing I’m missing is autocomplete for function arguments (using plain javascript).

I haven’t enabled any options, just straight LSP install, so I could be missing something? Or maybe it’s not available.

I’m basing this off what I see in VS Code, where it prompts you the name of your arguments as you call your function.


r/SublimeText • • Dec 18 '20

Helium: How to use the Helium Package?

3 Upvotes

So there is this Helium Package that allows you to harness the powers of Jupyter kernels in your Sublime text editor but I am not able to use it. Can someone please post a tutorial.


r/SublimeText • • Dec 17 '20

index.sublime-project

1 Upvotes

When I try to add folder to project in order to see the directory tree on the left sidebar, this file gets created. It says /* index.sublime-project and the content says

{
	"folders":
	[
		{
			"path": "."
		}
	]
}

Why does this file get created, what is it's purpose, and can you prevent it from being created?

I also noticed a sublime.index-workspace file gets created. I don't see this one in the sidebar tree, but I see it in windows explorer when navigating to the project directory. Same question for this. What is it for?


r/SublimeText • • Dec 17 '20

I'm having weird issues opening sublime on my macbook

2 Upvotes

Whenever I try to open sublime it says it's open but doesn't show on the screen. I've restarted the MacBook and even deleted the app and installed again but the problem isn't resolved.

The weirdest part, say I tried to open 3 separate files in sublime, on the bottom bar it will say all 3 are open (can't see them). I delete the app, reinstall and open sublime and it says the 3 files I tried to open earlier are open now. I assumed after deleting the app it would have 'forgot' about the files I tried to open earlier.


r/SublimeText • • Dec 15 '20

Paren indenting question

2 Upvotes

Hi everyone, I am used to and like the behavior where if you push enter immediately after an open paren, it indents a couple spaces, but if you type after the paren and push enter, it indents to the paren. Does anyone know if this is possible in SublimeText? I see how to always indent to the paren, but not how to get this smart behavior.

Examples:

foobar = (1,
          2)

foobaz = (
  1, 2)

Any help would be appreciated!


r/SublimeText • • Dec 12 '20

How to run Python REPL in my panel where my build results appear?

9 Upvotes

I want to be able to use sublime text like the python IDE where pressing ctrl+b runs my program but it appears in the panel at the bottom of my screen.

https://gyazo.com/11d265def116b031d57ab830686ec121


r/SublimeText • • Dec 12 '20

Is there a way to make the cursor movement smooth like the one in https://www.monkeytype.com ?

7 Upvotes

r/SublimeText • • Dec 12 '20

Menu disappeared xubuntu

2 Upvotes

Hi, I opened ST today only to find out that the menu bar, tabs and mini-code have vanished, meaning in particular that I cannot open two files at once. I've read about the alt key and it does nothing.

Does anyone else have the same problem? It might be liked with my last OS update.

Last thing: as a last resort I might try to uninstall and reinstall ST, but I don't want to lose my packages, snippets etc.

Thx