Kselax.ru

Hacker Kselax – the best hacker in the world

Menu
  • Blog
  • Contacts
  • wp plugin generator
  • English
    • Русский
Menu

The sublime text 3 editor – my settings

Posted on 16 September, 201815 March, 2019 by admin

In this articles we overview quite a nice text editor such as sublime text 3. I’ve been using it for a three years actively and lastly switched to Atom. I can say Atom isn’t sublime. It opens more slowly files and if you use Atom you have to use a few editors, at least two one for opening single files.

I returned back to sublime and now here is my set of adjustments

  • Settings file
  • List of plugins that I use
  • Snippets

Useful links:

  • how to add sublime to the dash and set up as a default app link

 

#Settings file

The settings placed in menu: Preferences -> settings

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
"color_scheme": "Packages/Colorsublime - Themes/Cobalt.tmTheme",
"enable_tab_scrolling": false,
"font_size": 19,
"highlight_line": true,
"ignored_packages":
[
"Vintage"
],
"show_definitions": false,
"tab_size": 2,
"theme": "Default.sublime-theme",
"translate_tabs_to_spaces": true,
"update_check": false,
"word_wrap": "true"
}

 

#List of plugins that I use

  • BracketHighlighter – used for highlight tags <div></div> link
  • AdvancedNewFile – create a new file (super + alt + n) link
  • FileIcons – icons for files
  • A File icon – link
  • AutoFileName – a plugin that autocompletes filename link
  • Color Highlight –
  • Emmet – a plugin for working with CSS
  • WordPress – a plugin for working with wordpress
  • JavaScript Completions
  • jQuery
  • Handlebars
  • Nodejs
  • javaScript & NodeJS Snippets – this add ‘cl’
  • Colorsublime – the package add all the color scheme to the sublime link
  • Gist – a plugin for creating new gists link
  • babel – a plugin for highlight JSX extensions link
  • Terminal – link
  • View In Browser – allow by ctr+alt+v open tabs in a browser link
  • Markdown Preview – to edit markdown link and link on the documentation link
  • Live Reload – link
  • Pane Resizer – increase alt + = decrease alt + – link
  • Open Url – ctr+alt+u or right click on the link link
  • Chrome Snippets – type ch_ and select from the list needed snippet link

Google Chrome JavaScript API auto-complete for sublime text – link

 

Interesting color schemes

  • Oceanic Next link
  • Cobalt link

 

#Snippets

The snippets placed in this folder ~/.config/sublime-tet-3/Packages/User/. I have quite a plenty of snippets but here will be a few:

pre – this is one of the more popular doing such a code

1
2
3
4
5
6
7
8
9
10
11
<snippet>
  <content><![CDATA[
echo "<pre>";
print_r(${1:some_text});
echo "<pre>";
]]></content>
  <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
  <tabTrigger>pre</tabTrigger>
  <!-- Optional: Set a scope to limit where the snippet will trigger -->
  <!-- <scope>source.python</scope> -->
</snippet>

 

 

 

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • bash (1)
  • English (9)
  • JavaScript (4)
  • node.js (22)
  • photoshop (1)
  • php (3)
  • React (9)
  • sclerotic (6)
  • Ubuntu (10)
  • Uncategorized (15)
  • Wordpress (1)

Tags

Ajax apache2 automation bash chrome-extension command line editor ejs email English English-grammar framework functions git graphql handlebars hybrid app installation javascript js linux newbie node.js node.js javascript nodemailer npm objects Performance php phpmyadmin playonlinux promise rabbitmq React react-router redis reverse-proxy session shell socket.io sublime text 3 time zones ubuntu unity webpack

Recent Comments

  • damien on How to install npm and nodejs the latest versions on ubuntu
  • Cam on How to install npm and nodejs the latest versions on ubuntu
  • Pierre on socket.io with apache as a reverse proxy on the CentOS
  • admin on How to use react-router with a few languages
  • admin on How to install npm and nodejs the latest versions on ubuntu
©2021 Kselax.ru Theme by ThemeGiant