Sublime Text 4: show word count for selected text - sublimetext3

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 information is no longer displayed. Only lines and character counts are shown:
Is this feature hidden in the settings somewhere or did ST remove it entirely? If so, why??

Sublime does not and has never had this power without a plugin. Seen below is a screen shot of the last version of Sublime Text 3 with no settings or packages and some text selected.
The counts displayed are for the selected lines and characters, but not words; there is also no setting in the core that enables this.
The answer you linked is to a question where someone is asking about the WordCount package itself, and in particular asking about how to apply a setting. The answer states that you just need to select text to see counts in the status bar without having to set any setting, which is true:

Related

how to make the code in Sublime text 3 in one line?

when I code using sublime the code breaks up (without hitting enter) when it goes to the end of the frame of sublime software ... I want the code to be in one line.
Here is what I want ... see this image to know what I mean
Here is what I don't want ... see this image to know what I mean
I want the second image to be like the first one so when I code the code should be in one line unless I hit enter
All you need is click on menu View -> Word wrap, i.e. uncheck it

Sublime Build 3126 : How to highlight all the line that contains my found phrase after searching?

I have an original version of Sublime Build 3126. Please, I need to learn the following if possible.
Basically, when I search for a term and click on the found line from the results window, I would like the Sublime editor to highlight the whole line that contains my term. At the moment, every time I click on the search result entries, I need to look again through the page for the line that contains the term. The Sublime editor is only highlighting the line number which is very hard to notice.
Ideally speaking, the whole line that contains the term might be highlighted and the term itself must be boxed/highlighted in a different way for instant identification.
If anyone knows how to adjust that to make it clear and easy to identify the found terms, it would be greatly appreciated.
I am using the Ubuntu version of Sublime.

Moving between text and input and textarea areas without using mouse and closing panels

In the majority of programs and sites it is possible to switch between input and textarea fields by means of combinations of the Tab and Shift+Tab keys.
But in Sublime Text Tab — tabulation.
For example, for me open Goto Line Panel and console.
May I move between entry fields and my text also as in the majority of programs becomes by means of keyboard combinations of Tab and Shift+Tab? I know, what the Tab and Shift+Tab keys is needed for tabulation, but any combination of keys can be used to move between input and textarea fields.
Thanks.
TAB will not work but this can be achieved by series of shortcuts:
Opening line selector: Ctrl+G
Opening search: Ctrl+F
Going from search to founded string: Alt+Enter
Shortcuts above are available on Linux version. They may be different on Windows but they are there and can be found in online documentation.
With Sublime Text you can personalize your shortcut!
I found this guide on the official website and this "different but useful" question about it.
So you can create your own sort of switch with comfortable combination. Example:
alt+1 to go to search
alt+2 to go to the text
alt+3 to go to the bottom
...
this is also faster then the "tag way" because it is not cyclic!
i haven't tried it but as mentioned by Draco the commands to move exist so you can just make them more comfortable.

RTL language with Sublime Text editor

The RTL languages are not supported in the sublime text editor
I tried this plug-in Bidirectional text support
on windows os
Copied all files from the zip Sublime-Text-2-BIDI-master to the ST3 folder and changed the font type and size.
then I copied the unicodedata.pyd to C:\Users\USERNAME\AppData\Roaming\Sublime Text 2\Packages\Bidirectional text support\bidi
now the Tools > Bidirectional text part didn't look gray anymore but it is still disabled.
also I copied these two lines but it didn't work
sys.platform.startswith('win'):
sys.path.append('../../..')
Any help would be appreciated
In order to get Sublime Text to work with Arabic characters using Sublime Text BIDI plugin on Windows correctly, ensure you've done the following:
Copy the plugin folder to the following path C:\Users\USERNAME\AppData\Roaming\Sublime Text 2\Packages\
Copy unicodedata.pyd from ST installation directory to both, the main plugin folder which in your case is Sublime-Text-2-BIDI-master and inside bidi folder.
Set your sublime user-settings to the following:
{
"font-face": "arial",
"font_size": 11,
"default_encoding": "UTF-8",
"fallback_encoding": "Arabic (Windows 1256)"
}
Reload the plugin by viewing rtl.py and saving
In the case that doesn't fix it, you can read what sublime console log outputs when you click on Bidirectional text for a given Arabic text, console log can be accessed through ctrl+~.
Very Easy,
Just follow this Video steps
دعم اللغة العربية في برنامج Sublime
1- Download the Sublime-BIDI-master folder from Github of solution
2- Extract it and paste under \Sublime Text Build (whatever)\Data\Packages(the downloaded folder).
3- open sublime wit any RTL Language file and right click anywhere you'll new options (Bidirectional text) .. Click it :).
However, in my Sublime version (build 3126), Arabic letters will be reshaped when switching to Bidi.
Initially in the range U+0621-U+064A, which are the usual Unicode codes for Arabic letters, characters will be mapped to the range U+FE70-U+FEFC, which are codes for each (isolated, initial, middle, final) Arabic connected forms. These latter codes, called Arabic-Presentation-Forms-B, are deprecated by Unicode and their usage should be very limited.
For example, before switching to Bidi, the word كتب, looks ب ت ك, from left to right U+0643 U+062A U+0628. This is the memory order. (It is up to the final rendering tool to display the string in visual order by connecting letters.)
After Bidi switching in Sublime, the word will appear good as كتب, because the codes are ﺐ ‎U+FE90 followed by ﺘ U+‎FE98 followed by ﻛ U+‎FEDB. In this order. That means, in a Bidi enabled tool like a browser, it will appear ﺐﺘﻛ as the final visual order. This is not what the user expects.
So, not only Bidi switching changes the letters code, it also changes the memory order.
Personal experience.
When editing a source file (HTML and other languages or formats) containing some RTL characters, it is really tricky to navigate in the text edited. So the mode "before" (logical or memory order) might be very helpful than the mode "after" (visual or display order). With logical order, it's useless to join letters, it doesn't make sens.
Check this link, I had the same problem but solved it with the Sublime Text BIDI plugin.
I was still facing an issue because of the editor's font. It will be recommended to use a fixed-width font like Courier New. This should ensure the plug-in works as expected.

How to enable brackethighlighter plugin in sublime text 3?

I am using sublime text 3 build 3059 , brackethighlighter plugin is installed but not working how to make it work ? i tried several solutions but no effect.
here is screenshot:
The plugin is working - you'll notice in your screenshot that the opening and closing {} brackets are bold underlined in white (the default style), and are also shown in the gutter, next to the line numbers. If you want to customize the display more, first open Preferences -> Package Settings -> Bracket Highlighter -> Bracket Settings - User. It will be blank at first. Next, open ... -> Bracket Settings - Default. Copy the entire contents of Default to User, then close Default (you can't edit it in Sublime Text 3).
Next, check out the Bracket Highlighter Sublime Text 3 docs and read all about how to customize the plugin to your heart's content. Good luck!

Resources