Giter VIP home page Giter VIP logo

vscode-todo's Introduction

TODO extension for Visual Studio Code

This extension adds functionality to list TODO:s in the project:

  • Choosing language
  • Show TODO:s

Features

Imgur

Usage

Settings

To exclude files from the search for TODO's, create the variable todoIgnore in your workspace or user settings:

{ 
  "todoIgnore":   ["**/test/**"]
}

It should contain an array of glob-patterns.

Marketplace

The extension is published on Visual Studio Codes marketplace at: https://marketplace.visualstudio.com/items/MattiasPernhult.vscode-todo

Download the extension with Visual Studio Code by open the command palette and run

  ext install vscode-todo

Local usage

First you need to clone the project, I strongly recommend you to clone it directly to the extension folder under the .vscode folder, or you can clone it and then copy the project into this location.

The .vscode folder is located under:

  • Windows: %USERPROFILE%.vscode\extensions
  • Mac: $HOME/.vscode/extensions
  • Linux: $HOME/.vscode/extensions

Contributing

If you like to contribute with new features or fixing issues just set up a development environment and make a pull request and I will look into that as soon as possible.

Development environment

You can set up a development environment for debugging the extension during extension development.

First make sure you do not have the extension installed in ~/.vscode/extensions. Then clone the repo somewhere else on your machine, run npm install and open a development instance by pressing F5.

rm -rf ~/.vscode/extensions/vscode-todo
cd ~
git clone https://github.com/MattiasPernhult/vscode-todo
cd vscode-todo
npm install
code . 

Changelog

v0.4.0

  • Support for ignoring files and folders through use of todoIgnore in configuration
  • Now scrolls to the selected TODO's line, instead of just highlighting it

v0.3.0

  • Improved the appearance of the TODO:s
  • Showing the actual TODO instead of only showing file path
  • Removed the root path from the file path
  • Will cut of characters if the actual TODO excess 60 characters
  • The same with the file path

v0.2.0

  • No need to choose a language, the extension will look through all files if no language is choosen.
  • Activate on start up.
  • It's possible to choose either all languages or a specific language.
  • This feature was proposed by marlass in issue #4

v0.1.3

  • Fixed bug with php files
  • No new feature was added in this release

v0.1.2

  • The extension will detect .js.coffee files in this release

v0.1.1

  • Fixed bug with coffee files
  • No new feature was added in this release

0.1.0

  • Initial release
  • Possibility to choose a language
  • Get all the TODO:s for the choosen language

License

MIT

vscode-todo's People

Contributors

agetorp avatar balneaves avatar mattiaspernhult avatar

Watchers

 avatar  avatar  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.