Git Product home page Git Product logo

commentsplus's Introduction

CommentsPlus

Formats code comments in italics, and enables extra formatting for special comments

By Mads Houmann

Based in part on code by Noah Richards and Tomas Restrepo.

Sample

Special Comments:

//! Important - formatted as bold.
//? Question - colored red.
//x Removed - formatted as strikeout.
//TODO: Task - colored dark orange.
//TODO@NN: Task for NN - colored dark orange - case insensitive
//HACK: Task - colored dark orange.
//!? WT*!? - colored purple.

Supported File Types

Should work with all or most VS supported source code file types.

Tested with: .cs, .vb, .h/.cpp, .py, .js, .ts, .ps1, .html, .xml, .xaml,

Settings

The formatting can be changed in the Options dialog under Environment, Fonts and Colors, Text Editor.

Registry Settings

HKCU\Software\CommentsPlus

  • DWORD value EnableTags
  • DWORD value EnableItalics

commentsplus's People

Contributors

mhoumann avatar pedoc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

commentsplus's Issues

unable to set the collor

with vs2022 i dont see any settings.
Also i'm using a dark theme, idealy i would like to set the font color and background for certain keywords i define
the ? ! ?! is okay but //todo and //bug i like to set their collors to something that pops a bit more.
As on the theme i use it doesnt realy pop.

Cusomized Comments

I'd like to define additional custom Comments like //# or //$ or //whatever ...
Can you please add this as a new Feature?

Does not work with .js files

VS 17.3.3
CommentsPlus17 1.10.0
Works fine with .html and .php

But does not work with .js files.
What could be the problem?

Avoid comment being in italic

I installed this extension to use the //?, //!... but why does it put everything in italic?
Please add information on how to avoid this.

Doesn't seem to work in VS2013

I downloaded the files, loaded CommentsPlus-v11.sln and then compiled in VS2015 Community and built the vsix (I wanted to remove the italics). This vsix installs and works fine in VS2015. However my daily box runs VS2013 and it doesn't work in there. It installs fine, but the additional Comments items don't show up in Fonts & Colors settings, and nothing happens.

Any idea what might be wrong?

Custom tags?

Is it possible to change the tags from //! to // ! because I'm migrating from another extension and have lots of comments that have a space after the // and wouldn't want to go back and change all of them.

Thanks.

Support //+ as shown in logo

//+ should increase the comment font size
//++ increase font size even more

Allow mixing, like: //!+

maybe add //- and //-- too

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.