Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aaron-bond/better-comments
/ functions
Functions
24 in github.com/aaron-bond/better-comments
⨍
Functions
24
◇
Types & classes
11
↓ 4 callers
Method
escapeRegExp
* Escapes a given string for use in a regular expression * @param input The input string to be escaped * @returns {string} The escaped strin
src/parser.ts:314
↓ 3 callers
Function
triggerUpdateDecorations
()
src/extension.ts:75
↓ 2 callers
Method
SetRegex
* Sets the regex to be used by the matcher based on the config specified in the package.json * @param languageCode The short code of the current
src/parser.ts:47
↓ 2 callers
Method
UpdateLanguagesDefinitions
* Generate a map of configuration files by language as defined by extensions * External extensions can override default configurations os VSCode
src/configuration.ts:22
↓ 1 callers
Method
ApplyDecorations
* Apply decorations after finding all relevant comments * @param activeEditor The active text editor containing the code document
src/parser.ts:217
↓ 1 callers
Method
FindBlockComments
* Finds block comments as indicated by start and end delimiter * @param activeEditor The active text editor containing the code document
src/parser.ts:113
↓ 1 callers
Method
FindJSDocComments
* Finds all multiline comments starting with "*" * @param activeEditor The active text editor containing the code document
src/parser.ts:168
↓ 1 callers
Method
FindSingleLineComments
* Finds all single line comments delimited by a given delimiter and matching tags specified in package.json * @param activeEditor The active text
src/parser.ts:78
↓ 1 callers
Method
GetCommentConfiguration
* Gets the configuration information for the specified language * @param languageCode * @returns
src/configuration.ts:44
↓ 1 callers
Method
setCommentFormat
* Set up the comment format for single and multiline highlighting * @param singleLine The single line comment delimiter. If NULL, single line is
src/parser.ts:324
↓ 1 callers
Method
setDelimiter
* Sets the comment delimiter [//, #, --, '] of a given language * @param languageCode The short code of the current language * https://code.
src/parser.ts:233
↓ 1 callers
Method
setTags
* Sets the highlighting tags up for use by the parser
src/parser.ts:275
Method
CSharpSample
()
src/test/samples/csharp.cs:10
Method
DoSomeStuff
(string myParameter)
src/test/samples/nested.cs:29
Method
IncreaseCount
()
src/test/samples/csharp.cs:14
Method
TestMethod
* Test Method * * Important information is highlighted * ! Deprecated method, do not use * ? Should this method be exposed through API?
src/test/samples/typescript.ts:11
Function
activate
(context: vscode.ExtensionContext)
src/extension.ts:6
Method
constructor
* Creates a new instance of the Parser class * @param configuration
src/parser.ts:35
Method
constructor
* Creates a new instance of the Parser class
src/configuration.ts:14
Method
constructor
()
src/test/samples/nested.cs:24
Function
deactivate
()
src/extension.ts:83
Method
doSomePrivateStuff
()
src/test/samples/nested.cs:34
Function
myFunction
(myParam)
src/test/samples/javascript.js:18
Function
updateDecorations
()
src/extension.ts:13