Snapshot của SublimeText/CTags: 980★ · Python. CTags support for Sublime Text
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
This Sublime Text package provides support for working with tags generated
by Exuberant CTags or Universal CTags.
ctags command is searched for on the system PATH. It works by doing a binary
search of a memory-mapped tags file, so it will work efficiently with very large
(50MB+) tags files if needed.
Installation
Package Control
The easiest way to install is using Package Control. It's listed as CTags.
Open Command Palette using menu item Tools → Command Palette...
Choose Package Control: Install Package
Find CTags and hit Enter
Manual Download
Download the .zip
Unzip and rename folder to CTags
Copy folder into Packages directory,
which can be found using the menu item Preferences → Browse Packages...
Using Git
Go to your Sublime Text Packages directory and clone the repository
using the command below::
git clone https://github.com/SublimeText/CTags
Additional Setup Steps
Linux
To install ctags use your package manager.
For Debian-based systems (Ubuntu, Mint, etc.)::
sudo apt-get install exuberant-ctags
or
sudo apt-get install universal-ctags
For Red Hat-based systems (Red Hat, Fedora, CentOS)::
sudo yum install ctags
MacOS
The default ctags executable in OSX does not support recursive directory
search (i.e. ctags -R). To get a proper copy of ctags, use one of the
following options:
Using Homebrew
brew install ctags
Using MacPorts
port install ctags
Ensure that the PATH is updated so the correct version is run:
If which ctags doesn't point at ctags in /usr/local/bin, make sure
you add /usr/local/bin to your PATH ahead of the folder
which ctags reported.
Alternatively, add the path to the new ctags executable to the settings,
under command. If you have Xcode / Apple Developer Tools installed this
path will likely be /usr/local/bin/ctags.
Windows
Download Exuberant CTags binary or Universal CTags binary
Extract ctags.exe from the downloaded zip to
C:\Program Files\Sublime Text or any folder within your PATH so that
Sublime Text can run it.
Alternatively, extract to any folder and add the path to this folder to
the command setting.
Usage
This uses tag files created by the ctags -R -f .tags command by default
(although this can be overridden in settings).
The plugin will try to find a .tags file in the same directory as the
current view, walking up directories until it finds one. If it can't find one
it will offer to build one (in the directory of the current view)
If a symbol can't be found in a tags file, it will search in additional
locations that are specified in the CTags.sublime-settings file (see
below).
If you are a Rubyist, you can build a Ruby Gem's tags with the following
script:
The rest of the options are fairly self explanatory.
Hide .tags files from side bar
By default, Sublime will include ctags files in your project, which causes
them to show up in the file tree and search results. To disable this behaviour
you should add a file_exclude_patterns entry to your
Preferences.sublime-settings or your project file. For example:
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/SublimeText/CTags là nguồn chính thức.
SublimeText/CTags có bao nhiêu sao?
SublimeText/CTags có 980 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/SublimeText/CTags. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
SublimeText/CTags có phải mã nguồn mở không?
Có — SublimeText/CTags phát hành theo license MIT, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/SublimeText/CTags.
SublimeText/CTags còn đang phát triển không?
Commit gần nhất trên SublimeText/CTags là 2.8 năm trước (theo timestamp GitHub). Repo có 162 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
SublimeText/CTags dùng license gì?
SublimeText/CTags phát hành theo license MIT. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
SublimeText/CTags là gì?
SublimeText/CTags (SublimeText/CTags) là dự án Python trên GitHub. Theo mô tả gốc: CTags support for Sublime Text
SublimeText/CTags viết bằng ngôn ngữ gì?
SublimeText/CTags chủ yếu viết bằng Python. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc đầy đủ README ở tab phía trên.
Chưa chắc CTags có hợp với bạn?
Để ChatGPT, Claude hoặc Perplexity tìm hiểu giúp — bấm bên dưới và xem AI nói gì về CTags.