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.

Sublime Text

Sublime Text is a cross-platform C++-based text and source code editor. The program was originally designed as a feature-rich extension of Vim.

First release: 18 January 2008
Stable Version: Sublime Text 4 (Build 4143) / 11 November 2022
Dev Builds: Build 4147 / 22 December 2022

Features

  • Minimap: a preview of the full source code
  • Ability to select multiple sections of code
  • Multi-panel editing
  • Bookmarks within files
  • Native support for 44 (version 3) or 27 (version 2) programming languages included, with additional available for download
  • Autosave
  • RegEx-based find and replace
  • Fully customizable syntax highlighting
  • Brace matching, autocomplete
  • Support for macros and Python-based plugins
  • Custom key bindings
  • In-editor code building
  • Snippets
  • Goto Anything(File Navigation)
  • Column Selection and multi-select editing
  • Plugin Support

Platform Support:

  • Linux
  • macOS (10.9 or later required for dev builds)
  • Windows (also as a portable version)

Version 3

Version 3 entered beta on 29 January 2013. At first available only for registered users who have purchased Sublime Text 2, on 28 June 2013 it became available to the general public. However, the very latest development builds still require a registration code.

Two of the main features that Sublime Text 3 adds include symbol indexing and pane management. Symbol Indexing allows Sublime Text to scan files and build an index to facilitate the features Goto Definition and Goto Symbol in Project. Pane Management allows users to move between panes via hotkeys.

Sublime Text 3 is very stable, as of 22 March 2016, about 80% of those using Package Control are running version 3 and Sublime Text 3 is the default download version on its website.

Related Tags

Source: Wikipedia

3417 questions
1
vote
1 answer

Trying to sequence numbers for multiple lines in Emmet wrap abbreviation for Sublime

New to the coding game, and familiarizing myself with Sublime Text and its plugins on Windows10. After much searching, I finally figured out that v 3 and 4 do not offer the inherent ctrl+shift+g macro to wrap with abbreviation, so I manually binded…
1
vote
0 answers

Sublime Text Editor Anaconda package Autoformat PEP8 Errors doesn't automatically reformat comments that are too long

I'm trying the STE Anaconda's autoformatting feature and it works well with every other PEP8 feature but seems to not change any lines that are like: def foo(): # asasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasas …
1
vote
1 answer

Change color of folded text in Sublime

Is there any way to change color of the folded text in Sublime. Default color is yellowish.
IGRACH
  • 3,506
  • 6
  • 33
  • 48
1
vote
0 answers

How to run SublimeREPL on remote python

I want to run my python code on a remote environment (I have more cores/RAM etc...) and I have no idea how to do that in SublimeREPL. Do I just update the python_virtualenv_paths? from: "python_virtualenv_paths": [ "~/.virtualenvs", //…
user1871528
  • 1,655
  • 3
  • 27
  • 41
1
vote
0 answers

Why my code can't recognizing my command?

I'm creating and learning how to create a python personal assistant. I can't understand what's wrong in my code. I connected my mic, but its not recognizing. Can you help me. my code: import speech_recognition as sr import pyttsx3 import…
1
vote
1 answer

Sublime Text 4 Terminus - Multi Session Terminal Integrated In Panel View

I'm using Sublime Text 4's Terminus package and trying to open more than one terminal session within Sublime's panel view. In VSCode it looks like this: The closest I can get is to open each session in a separate tab on grid layout, which works…
Syden
  • 8,425
  • 5
  • 26
  • 45
1
vote
1 answer

Themed title bar not working in sublime text 4

I updated my sublime text 3 to version 4 and in there article, they said that: The Adaptive theme on Windows and Linux now features custom title bars. But i can't figure out how to use it. I tried adding this settings: "ui_native_titlebar":…
Blaze_droid
  • 479
  • 4
  • 13
1
vote
1 answer

Hide inline errors (phantoms) in Sublime Text 4

The following used to work in Sublime Text 3, but gives an error in ST4. { "keys": ["f10"], "command": "exec", "args": {"hide_phantoms_only" : true }, }, Error message: __init__() got an unexpected keyword argument…
Andreas Haferburg
  • 5,189
  • 3
  • 37
  • 63
1
vote
1 answer

Sublime Anaconda package abusive auto_complete (remove specific trigger)

I am using the Anaconda package for Sublime Text. Everything is working perfectly, I love it. In truth, it works a bit too well, especially the auto_complete. The auto_complete being zealous Every time I write a colon (:) after a statement needing…
Nerra
  • 41
  • 6
1
vote
1 answer

Sublime Text 4: open multiple windows from terminal

Sublime Text 4 was just released. A behavior change from Sublime Text 3/2 has been implemented. In new Sublime Text 4, if a window is already open when the User (me) uses the $ subl . command from the terminal, it takes me to the currently open…
Kobi
  • 4,003
  • 4
  • 18
  • 23
1
vote
1 answer

Pygame window isn't appearing

I believe this is the necessary code to initialize Pygame: running = True pygame.init() while running: screen.fill((0, 0, 0)) screen.blit(background, (0,0)) for event in pygame.event.get(): if event.type == pygame.QUIT: …
Navzyx-kun
  • 11
  • 1
1
vote
1 answer

How to escape $ on Sublime Text Snippet

I create a snippet for my PHP laravel in SBT3 dd source.php When I typed dd I see this now. if I type more notice it's…
code-8
  • 54,650
  • 106
  • 352
  • 604
1
vote
1 answer

Sublime Text and JSX code format within JS file

With Sublime Text, what is the best plugin for JSX code formatting ? Also, specifically, if the JSX code is written inside .js file (instead of .jsx file), what do we need to do to handle the formatting inside JS file ?
copenndthagen
  • 49,230
  • 102
  • 290
  • 442
1
vote
1 answer

Sublime editor: how to force all files to use spaces or tabs?

I use Sublime 3.0 editor and my editor switches to Spaces: 2 for any *.vue file and if I open a JS file, it switches to Tab: 4. This is causing issues with my linter. How can I set a standard for all files?
MauirceA
  • 291
  • 1
  • 13
1
vote
1 answer

Run Python 3.6+ code in Sublime Text 3 Plugin

Sublime Text 3 is developed in Python 3.3 and all plugins run via its internal Python environment (3.3). Now, I want to use packages that are compatible with Python 3.6+ in my Sublime plugin. How can I overcome this conflict?