Giter Site home page Giter Site logo

kiprasmel / ctags-companion Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gediminasz/ctags-companion

0.0 0.0 0.0 707 KB

A Visual Studio Code symbols provider based on Ctags

Home Page: https://marketplace.visualstudio.com/items?itemName=gediminaszlatkus.ctags-companion

License: MIT License

JavaScript 96.40% Python 1.97% Makefile 1.63%

ctags-companion's Introduction

Ctags Companion

A Visual Studio Code symbols provider based on Ctags. This extension provides the following capabilities:

Usage

First of all, make sure you have Universal Ctags installed.

In order to provide symbol definitions a tags file must be present. You can generate it using the "rebuild ctags" task (Terminal > Run Task... and select "Ctags Companion: rebuild ctags"). It will run ctags and generate a tags file inside your project directory. The extension will then use readtags to perform symbol definition lookup.

Settings

ctags-companion.command

Default: "ctags -R --fields=+nKz"

Command to generate the tags file. This command is used by the Terminal > Run Task... > Ctags Companion: rebuild tags task.

"ctags-companion.command": "ctags -R --fields=+nKz"

ctags-companion.documentSelector

Default: {"scheme": "file"}

Document selector object used when registering symbol providers, read more at https://code.visualstudio.com/api/references/vscode-api#DocumentSelector.

"ctags-companion.documentSelector": {"scheme": "file"}

ctags-companion.readtagsGoToDefinitionCommand

Default: "readtags -en"

The command used for the "go to definition" feature (i.e. F12 or Ctrl+click).

"ctags-companion.readtagsGoToDefinitionCommand": "readtags -en"

ctags-companion.readtagsGoToSymbolInWorkspaceCommand

Default: "readtags -enpi"

The command used for the "go to symbol in workspace" feature (i.e. Ctrl+T).

"ctags-companion.readtagsGoToSymbolInWorkspaceCommand": "readtags -enpi"

ctags-companion.ctagsGoToSymbolInEditorCommand

Default: "ctags --fields=+nKz -f -"

The command used for the outline and the "go to symbol in editor" feature (i.e. Ctrl+Shift+O).

"ctags-companion.ctagsGoToSymbolInEditorCommand": "ctags --fields=+nKz -f -"

FAQ

How to install Universal Ctags?

  • macOS: brew install universal-ctags
  • Ubuntu: apt install universal-ctags or snap install universal-ctags
  • Windows: winget install 'Universal Ctags'

ctags-companion's People

Contributors

gediminasz avatar crawler avatar hirooih avatar gitmensch avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.