[Update Sublime text 4] Sublime Text – Trình soạn thảo cực đỉnh cho dân lập trình

là trình soạn thảo mới và tốt nhất ư ? Nó có thật sự cần thiết để thay đổi cho các trình soạn thảo khác dành cho lập trình viên không?

Sublime Text 3 - Trình soạn thảo cực đỉnh cho dân lập trình
3 – Trình soạn thảo cực đỉnh cho dân lập trình

Giới thiệu về Sublime Text

Có rất nhiều trình hiện nay trên Internet chẳng hạn như Notepad++, EditPlus, PhpStorm…vv. Nhưng nếu bạn đang tìm kiếm 1 trình soạn thảo văn bản để tối ưu hóa và làm cho code của bạn thú vị hơn nhiều, Sublime Text 3 sẵng sàng giúp cho bạn. Công cụ này có nhiều tính năng hữu ích và thuận tiện cho việc lập trình. Đây là một số tính năng của nó:

  • Hỗ trợ nhiều tab làm việc.
  • Tự động điền khi viết code.
  • Nhiều ấn bản.
  • Thẻ đóng tự động.
  • Phím tắt bàn phím.
  • Hệ thống tìm kiếm.

Một số tính năng bạn có thể thích

Goto Anything

Tính năng Goto Anything trong Sublime Text không những giúp chúng ta đi đến một tập tin cụ thể mà nó còn giúp chúng ta đi tới một dòng cụ thể trong một tập tin.

Multiple Selections

Thực hiện mười thay đổi cùng một lúc, không một lần thay đổi mười lần. Nhiều lựa chọn cho phép bạn thay đổi tương tác nhiều dòng cùng một lúc, đổi tên dễ dàng và thao tác các tệp nhanh hơn bao giờ hết.

Goto Definition

Sử dụng thông tin từ các định nghĩa cú pháp, Sublime Text tự động tạo ra một chỉ mục toàn dự án của mọi lớp, phương thức và chức năng.

Tùy chỉnh mọi thứ

Mọi thứ trong Sublime Text đều có thể tùy chỉnh với các tệp JSON đơn giản. Hệ thống này mang đến cho bạn sự linh hoạt vì các cài đặt có thể được chỉ định trên loại tệp và từng dự án.

Hiệu suất

Sublime Text được xây dựng từ các thành phần tùy chỉnh, cung cấp khả năng đáp ứng chưa từng có. Từ bộ công cụ UI đa nền tảng tùy chỉnh mạnh mẽ, đến công cụ yntax highlighting engine chưa từng có, Sublime Text đặt thanh cho hiệu suất.

Cài đặt Package Control

Package Control là một plugin hữu ích của Sublime Text cho phép bạn cài đặt và quản lý các package như các bộ gõ, theme…. Cách đơn giản nhất để cài đặt Package Control là thông qua giao diện dòng lệnh của Sublime Text. Bạn vào View > Show Console hoặc ấn tổ hợp phím Ctrl + `, sau đó copy paste đoạn code sau vào giao diện dòng lệnh và ấn Enter để tiến hành cài đặt.

Các thay đổi trong từng phiên bản Sublime text:

Update lớn dành cho phiên bản Sublime Text 4

RELEASE HIGHLIGHTS

  • Multi-select tabs to view them side-by-side
  • Context-aware auto complete by finding similar code elsewhere in the current project
  • Symbols have kind information that is shown for completions and navigation
  • Theme can follow system dark mode preference and title bars can be themed on all platforms
  • Syntax highlighting now supports back-tracking and inheritance
  • Many syntax highlighting improvements as well as builtin TypeScript, JSX and TSX support
  • GPU rendering for improved performance. Enabled by default on macOS
  • ARM64 support for Linux and macOS (Apple Silicon)
  • Many plugin API additions particularly to better support plugins like LSP
  • Python 3.8 support for plugins

Version: Build 4126
  • Improved OpenGL rendering performance by automatically batching together controls
  • Added support for Chinese standard GB18030 file encoding
  • Added support for CP862 file encoding
  • Resolved various issues tracking symlinks in the side-bar
  • Avoid session data corruption if a crash happens while saving the session
  • subl -n will reuse an existing empty window if the application isn’t running
  • Binary files now show as “Binary” syntax instead of “Plain Text” in the status bar
  • Fixed wildcards incorrectly matching subpaths (For settings like "folder_exclude_patterns")
  • Made "find_in_files_max_result_size" not apply when replacing
  • Fixed crash when loading invalid grid layout from session
  • Fixed spell checker incorrectly marking some words as correct if they can’t be encoded
  • Fixed rendering order of successive popups
  • Fixed package subfolders sometimes not being loaded when matching the "ignored_packages" setting
  • Fixed layout instability in side bar causing things to occasionally be rendered 1 pixel off
  • Added some missing glyphs to "draw_unicode_white_space": "all"
  • Added "draw_unicode_bidi" setting for drawing unicode bidi characters
  • Added "select_across_groups" setting for opting into the old side bar selection behavior when selecting a single file
  • Fixed "close_windows_when_empty" setting not working
  • Fixed goto-definition preview not closing on escape
  • Fixed quick panel closing on enter when there are no matching entries
  • Syntax Highlighting: Fixed backtracking breaking when creating phantoms or doing a context backtrace
  • Syntax Highlighting: Fixed regression with some syntax definitions introduced in 4115
  • Linux: Added missing libcurl dependency for package managers
  • Linux: Fixed GTK overriding LC_NUMERIC environment variable breaking serialization
  • Windows: Fixed command line not taking focus after closing a waited on file
  • Windows: Fixed crash when OpenGL initialization fails
  • Mac: Aliases are now resolved when using drag and drop
  • Mac: Fixed window sometimes being restored on startup when "create_window_at_startup" is disabled
  • Mac: Fixed native tabs restoration resulting in odd behavior
  • Mac: Fixed subl -b not working
  • Mac: Fixed terminal not being focused after waiting on file
  • Mac: Fixed Window > Merge All Windows merging minimized windows
  • Mac: Fixed various inconsistencies when opening files from finder
  • API: The show_panel command for the find and find in files panels can now take "pattern" and "replace_pattern" arguments
  • API: ListInputHandler.preview is now called with None when no items match the current filter
  • API: Fixed case where Window.project_data() could return an invalid value
  • API: Opening a new pane moves currently selected sheets
  • API: Added Window.move_sheets_to_group
  • API: The commands move_to and move_to_neighbouring now move currently selected sheets
Version: Build 4113

14 July 2021

  • Improved performance when editing large files
  • Improved OpenGL rendering performance
  • Improved handling of deleted files
  • Various syntax highlighting improvements
  • subl can now be used to edit stdin, eg: echo test | subl | cat
  • Syntax and indentation detection is now done when editing stdin
  • Added syntax_detection_size_limit setting for controlling when syntax detection is skipped
  • Theme: Improved scroll puck visibility
  • Theme: Fixed adaptive theme not respecting themed_title_bar setting with light color schemes
  • Middle clicking in the Open Files section of then sidebar will close the clicked on file
  • Preserve Case now works with unicode characters
  • Added reveal_menu setting for disabling revealing the menu when alt is pressed on Linux and Windows
  • Safe Mode key binding can be disabled by creating a file named .Disable Safe Mode Shortcut in the data directory
  • Fixed Ruby syntax highlighting in the Monokai color scheme
  • Fixed a scenario where folders weren’t being watched for changes
  • Fixed underlines being drawn behind line highlight
  • Fixed an infinite loop that could occur during syntax highlighting
  • Fixed the append command’s scroll_to_end parameter sometimes not working
  • Fixed Goto Symbol sometimes being scrolled incorrectly
  • Fixed multi-select file limit applying to sidebar
  • Fixed auto-complete related hang in some large files
  • Linux: Fixed print sometimes not working
  • Linux: Fixed wrong order of yes/no buttons in GTK dialogs
  • Linux: Fixed letters sometimes being cut off
  • Windows: Always make a new window when launching main executable on Windows
  • Windows: Fixed window icon not scaling properly on Windows
  • Windows: Fixed globs not being expanded in some cases on Windows
  • Mac: Fixed auto theme not changing with OS auto theme on macOS
Version: Build 4107

GPU RENDERING

  • New hardware_acceleration setting will composite the UI on the GPU
  • By default, GPU rendering is enabled on Mac, and disabled on Windows and Linux
  • Details about the active GPU will be displayed in the Console

CONTEXT-AWARE AUTO COMPLETE

  • The auto complete engine now suggests completions based on patterns in existing code
  • Uses the entire project as a source, instead of just the current view
  • Plugins may specify symbol kind info to be displayed in suggestions list

TAB MULTI-SELECT

  • Multiple tabs can be selected using ctrl/cmd, their contents will be shown side-by-side
  • Selecting multiple files from the sidebar will also preview them simultaneously
  • Included themes have a tab connector joining the active sheet and tab when using sheet multi-select
  • The sidebar can now select multiple files using alt
  • Goto Anything allows opening tabs side-by-side using ctrl/cmd
  • The Definition popup has a dedicated button for opening files side-by-side
  • Multiple tabs can also be selected from the tab dropdown
  • The menu Selection/Tab Selection contains various options for manipulating tab multi-select
  • File/New View into File has been replaced by File/Split View using multi-select
Version: Build 3.2.2

3.2.2 (Build 3211) – 1 October 2019

  • Mac: Added Notarization
  • Fixed a performance regression when moving the caret upwards in large files
  • Fixed a memory leak
  • Fixed not being able to swap lines down with the last line if it was empty
  • Git: Fixed includeIf handling in git config files not interpreting ~ relative paths correctly
Version: Build 3208
21 April 2019
  • Mac: Added a workaround for a macOS OpenGL driver bug in 10.14.4
Version: Build 3203

Build 3203: 27 March 2019

  • Fixed a crash in the Git repository handling
  • Linux: Further improvements to high dpi handling under KDE
  • API: Fixed regression with phantoms interfering with home/end behavior
Version: Build 3197

Build 3197: 8 March 2019

Fixed an infinite loop regression in 3195

Version: Build 3165

27 April 2018

  • Windows: Improved support for fractional DPI scaling
  • Mac: Fixed character spacing regression in 3163
  • Linux: Improved behavior when fs.inotify.max_user_watches is too low
  • Fixed hashed syntax highlighting getting confused by word wrapping
  • Fixed popup and auto complete windows not showing when the caret is at the leftmost position of a widget.
Version: Build 3147
6 October 2017
  • Fixed a regression in 3146 that caused incorrect punctuation rendering
Build 3126
Build 3126
  • Ngày phát hành: 23 tháng 9 năm 2016
  • Thêm Trạng thái lập chỉ mục vào menu trợ giúp để cung cấp thêm thông tin về những gì người lập chỉ mục đang làm.
  • Đã khắc phục sự cố tương thích với một số định nghĩa cú pháp của bên thứ ba bao gồm cú pháp JavaScript.sublime
  • Giảm số lượng mặc định của quy trình công nhân được sử dụng để lập chỉ mục. Điều này có thể được điều khiển bằng tay thông qua cài đặt index_workers
  • API: Cập nhật OpenSSL lên 1.0.2i

Hướng dẫn cài Vietnamese IME – Bộ gõ tiếng Việt

Gõ tiếng Việt trên Sublime Text 3

Phiên bản 2 sử dụng engine BoGoEngine của ibus-bogo

Phiên bản 1 với 2 nhánh riêng biệt cho kiểu gõ VNI và TELEX được lưu tại Repo VN_IME và tại nhánh TELEX

Cài đặt

Package Control: Install Package -> vn ime

Cài đặt thủ công:

Hướng dẫn sử dụng

Nhấn phím F2 để bật gõ tiếng Việt, mặc định là kiểu gõ VNI. Nhấn tiếp phím F2 để tắt

Khi thanh status hiện chữ VN IME : ON là đang bật, VN IME : OFF là đã tắt

Để dùng kiểu gõ TELEX, thêm giá trị telex trong tập tin cấu hình Preferences.sublime-settings tại Preferences -> Settings - User với giá trị true. Ví dụ như sau:

Download trình soạn thảo Sublime Text 4

Phiên bản hiện tại của  Version 4126

Version: Build 4126

Phiên bản hiện tại của Sublime Text 3 Version 3.2.2: Build 3211

Version: Build 3211

Sublime Text 3 dev builds hiện đang trong giai đoạn thử nghiệm. Bản Build mới nhất là 4140.

Version: Build 4140

Version: Build 3210

Linux Package Manager Repositories:

Install the GPG key:

Select the channel to use:

Stable

Dev

Update apt sources and install Sublime Text

Khác Biệt Giữa Paid và Free Version

Về mặt tính năng thì không có sự khác biệt nào giữa phiên bản trả phí và miễn phí trừ việc nếu sử dụng phiên bản miễn phí thì text editor này sẽ hiển thị một popup nhắc bạn mua bản quyền sau một khoảng thời gian sử dụng nhất định.

License key Sublime Text

Tất cả các license key trên mạng share đều bị block hoặc không còn sử dụng được nữa. Các bạn nên mua ủng hộ tác giả nhé.

Xem thêm bài viết về Sublime Text:

Sublime Text 3

Nếu trong quá trình sử dụng trình soạn thảo Sublime Text gặp lỗi vui lòng Comment tại đây để được hỗ trợ nhé.

Bạn nghĩ sao về bài viết này?
+1
1
+1
0
+1
0
+1
0
+1
0


Lưu ý:
→ Vui lòng bình luận bằng tiếng Việt có dấu.
→ Hãy dùng tên và email thật của bạn khi comment.
→ Không sử dụng keyword trong ô Name.
→ Nếu có ý định Spam link thì hãy quên đi nhé.
→ Tất cả bình luận đều được kiểm duyệt vì thế hãy cẩn thận trước khi comment.
Xin cám ơn!

Add Comment

Website này sử dụng Akismet để hạn chế spam. Tìm hiểu bình luận của bạn được duyệt như thế nào.

12 Comments on “[Update Sublime text 4] Sublime Text – Trình soạn thảo cực đỉnh cho dân lập trình

  1. Cảm ơn ad chia sẽ, nhưng key version 3 mới tải trang chủ về, bị lỗi không kích hoạt được nha ad. Nhờ ad kiểm tra lại giúp mình. Đang cần lắm ad ơi.