Questions tagged [sublimetext4]

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 4 is the latest version of a multi-language, multi-platform code editor, developed by Jon Skinner and SublimeHQ. It is very fast, highly extensible and customizable, and has a Python API to allow plugins for augmented functionality.

Overview

Sublime Text 4 is the latest version of a multi-language, multi-platform code editor, developed by Jon Skinner and SublimeHQ. It is very fast, highly extensible and customizable, and has a Python API to allow plugins for augmented functionality.

New Features

  • Tab multi-select
  • Native support for Apple Silicon and Linux on ARM64 processors
  • Refreshed UI
  • Context-aware autocomplete
  • , and support
  • Improved syntax definitions
  • GPU rendering
  • Dual APIs, supporting (default) and . The API has been extended and improved considerably.
  • Fully compatible with
  • Safe mode (--safe-mode command line switch) to simulate a fresh install for troubleshooting
  • Improved input handling, extended key bindings
  • Added File → Print, which prints through a web browser. Edit → Copy as HTML available as well.

The full changelog is available on the downloads page.

Resources

119 questions
0
votes
0 answers

Sublime Text 3 - adding newer CSS properties to the syntax highlighting list

as you can see from the picture the newer property aspect-ratio are not recognized, as with a ton of other new properties. Where can I add these new properties? ryboe made a package to fix this, but it only works on separate css-file, not the…
agiopnl
  • 1,190
  • 9
  • 18
0
votes
1 answer

Enable Sublime Text 3 or 4's syntax highlighting for custom types

I'm tring to set a specific color on Sublime Text (coding C/C++) for custom types such as ones created with typedefs. By default, ST3/4 seems to treat one of these custom types as variable names, hence coloring them in the same way. I found this…
Biskweet
  • 130
  • 1
  • 9
0
votes
1 answer

Sublime 4/Vintage: repeat key on key down only in edit mode

On my mac, I need to be able to access special characters such as accents for editing purposes and for now I access this by holding a key down and then get the suggestions shortcut. However, I would like to use the Vim mode in Sublime as well so…
Spearfisher
  • 8,445
  • 19
  • 70
  • 124
0
votes
1 answer

Emmet missing semicolon inside css media query in Sublime Text 4

Emmet autocomplete doesn't add semicolon after css rules inside media query. div { display: none; } @media (max-width: 991.98px) { div { display: none } } Outside media query Inside media query
0
votes
1 answer

Sublime Text 4: show word count for selected text

I recall that when selecting a block of text in Sublime Text the status bar used to display the word count. This answer confirms that I recall correctly, Sublime Text 3 used to show that information: I'm running Sublime Text 4 (Build 4143) and this…
Gabriel
  • 40,504
  • 73
  • 230
  • 404
0
votes
1 answer

Sublime Text 4 MDX Color Syntax Package

Any package that I could be missing, for MDX color syntax highlighting, in Sublime Text 4, which works correctly? Tried the following but both have broken coloring, as in imports after 1st one showing as plain text, same with exported constants,…
Syden
  • 8,425
  • 5
  • 26
  • 45
0
votes
1 answer

How to paste some text in Sublime?

I need to paste console.log() very often. I want to create a hotkey for this. And the cursor should be between brackets (usual pasting doesn't work so). How to do this? It doesn't look like this can be configured in the settings. Maybe some plugin.…
0
votes
1 answer

Remove widgets from other themes in Sublime Text 4

I installed the Guna theme which brings a nice color scheme that I would like to keep; however, the theme comes with a clock and weather widget that I can't remove even if I set the theme back to default. I have tried setting the layer where the…
0
votes
1 answer

Sublime text: unexpected sidebar git marks behaviour

I'm using the most recent stable 4143 build on Ubuntu 22.04. Here's an image to show what I mean: Looks great, right? Despite one fact: all that files were created and are not added to git index yet. Looks quite inconsistent: some files have empty…
STerliakov
  • 4,983
  • 3
  • 15
  • 37
0
votes
0 answers

Python code runs from code editor, but not from terminal

I run code in Sublime Text 4 and it works. # importing packages from pytube import YouTube import os # url input from user yt = YouTube("https://www.youtube.com/watch?v=gYmAzwQPfdY&ab_channel=TMProduction") # extract only audio video =…
0
votes
0 answers

Sublime Text sidebar initial view scrolled to end of longest filename

When I open Sublime Text, the sidebar view is scrolled-right to the maximum-length filename in the sidebar file tree. Previously, the sidebar view always opened to the default view of left-alignment. This is a recent phenomenon; neither my user…
Alnitak
  • 2,068
  • 2
  • 12
  • 24
0
votes
0 answers

Sublime Text - How to build using *NIX shell environment on a Windows machine?

I've Sublime Text installed on my Windows 10 machine. I'm trying to configure it so that when I build my code Sublime runs it through a Linux shell (bash, zsh, etc.) instead of the default Command Prompt. Here's a simple Python code, trying to…
0
votes
0 answers

Plugin like WebStorm's StringManipulation, but for Sublime Text?

Is there any Sublime plugin similar to the String Manipulation plugin available in WebStorm? Preferably one that's still being updated? I've come across a couple but nothing seems comparable, and anything close seems to be abandoned. The WebStorm…
Slbox
  • 10,957
  • 15
  • 54
  • 106
0
votes
1 answer

Is there a way to change the syntax color for the directory paths in the "Find results" tab in Sublime Text?

So when you search for a word in the whole project inside sublime text it opens a tab with a bunch of text containing the results of the search. Having all that text in the same color is a bit confusing for me so i want to know if there is a way to…
0
votes
0 answers

Remove space after colon in Sublime Text 4

The previous solution was listed here: How to remove space after a colon in CSS with Sublime Text 3? I have Package Control installed and PackageResourceViewer. However the updated css_completions.py file is larger than the previous solution and…
intense7
  • 13
  • 3