diff --git a/README-phonenix.md b/README-phonenix.md deleted file mode 100644 index 520c378..0000000 --- a/README-phonenix.md +++ /dev/null @@ -1,154 +0,0 @@ -# Description - -This is documentation specific to Phoenix Editor. - -## Utilities - -### Encoders/Decoders - -| Line Utility | Example | -| ------------- | ------------- | -|Html Encode|**before**:`

Title

`
**after**:`<h1>Title</h1>`| -|Html Decode|**before**:`<h1>Title</h1>`
**after**:`

Title

`| - -### Quote Change - -| Line Utility | Example | -| ------------- | ------------- | -|Single To Double Quote|**before**:`find'again`
**after**:`find"again`| -|Double To Single Quote|**before**:`find"again`
**after**:`find'again`| -|Toggle Quote|**before**:`find"again'`
**after**:`find'again"`| - -### Spacing - -| Document Utility | Example | -| ------------- | ------------- | -|Tab To Space
**Space to Tab only works with leading spaces**|| -|Space To Tab
**Space to Tab only works with leading spaces**|| - -### Line Commands - -| Document Utility | Example | -| ------------- | ------------- | -|Number
**It adds a number prefix to every selected line**|| -|Trim Leading|| -|Trim Trailing|| -|Sort Ascending|| -|Sort Descending|| -|Markdown Trim Trailing
**Trims trailing spaces and adds 2 trailing spaces**|| -|Break line at
**Breaks lines to have a maximum of N chars, with word break option**|| - -## More Text Transformations - -The list of commands are: -2. **rgb-hex**[sentence] - Converts from #HHHHHH to rgb(dec, dec, dec) and vice-versa. It supports multiple conversions -3. **tag**[sentence] - Uses the 1st word of the selected text as html tag, and surrounds the remaining the text with nearest text. -The most common tags have shortcuts: bu=button d=div sp=span te=textarea in=input -``` -Ex: d ->
h3#hello.active.other text ->

text

-``` -4. **untag**[function] - Removes the nearest tag -5. **Reverse**[function] - Reverses the terms in a assignment or comparison. -6. **Declare JSLint Global**[word] - Adds the selected id to the /*global ... */ list - -## Dialogs - -Input fields on the dialogs support history (CTRL+UP/DOWN). - -## Clipboard Commands - -**Copy Filename**, **Copy Fullname** - Copies the filename of the active file to the clipboard -**Regnize**[sentence] - Copies to clipboard the text with all the regular expression special characters slashed. - This command simplifies the usage of on find/replace dialogs. -**ExtractortoIX**[all] - Copies to clipboard all the text matches. One per line. - -## ReplacetoIX Command - -This command provides a replace dialog with the following options: -* Ignore Case -* Word Only -* Replace All -* Only Selection -* Multiline -* Start Value (use for numbering) -* Step Value (use for numbering) - -Just like all the other commands, it only operates on the selected text(only selection mode), if no text is selected it uses all the text. - -## Html Report Command - -This command will copy to the clipboard a list of all the id's, classes and stylesheets used on the current html file [all]. - -## Internet Search Commands - -**Open Url**[sentence], **Web Search**[word] will open an external web browser with selected text either an url(**Open Url**) or text(**Web Search**) - -## Function JSDoc Command - -This command will create a JSDoc function skeleton of the function where the cursor is located. -Ex: -``` -function foo(param1, param2) { } -``` - -Will become: -``` -/** -* foo -* @param {} param1 -* @param {} param2 -* @return {} -*/ -function foo(param1, param2) { } -``` - -Also supports privates methods: -``` -function _foo() { } -``` - -Will become: -``` -/** -* @private -* _foo -* @return {} -*/ -function _foo() { } -``` - -## Recent Files Command - -Displays of the all recent opened files. This list is independent of the project. - -## Compiler - -**Compiler** command with execute an external compiler. Supported file formats: - -* .js6 Compiles a ECMAScript 6 into a `.js` file using traceur compiler.   -* .scss Compiles a `.scss` into a `.css` file using sass compiler.   -* .js Minifies a `.js` file into a `.min.js` file using minifier   - -To prevent from creating an oversize plug-in, the compilers must be installed manually: - -* To install sass compiler, follow the instructions on this link: [sass compiler][1] -* To install traceur, first install [nodejs][2], and then from the shell, execute `npm install -g traceur`   -* To install traceur, first install [nodejs][2], and then from the shell, execute `npm install -g uglify-js`   - -By default, the compile on save is not active. You can use the **Options** to activate it - -[1]: https://sass-lang.com/ -[2]: https://nodejs.org/ - -## Lorem Ipsum - -Inserts the classical lorem ipsum with options on the number of paragraphs, wrap, and max characters per line. - -## Dialog Commands - - * **Commands** - Displays a dialog box with the list of the commands to be executed. -Use `{{in}}, {{inpath}}, {{infile}}, {{out}}, {{outpath}}, {{outfile}}` macros - - * **Commands Mapper** - Allows you to define which commands are on the menu, and its associate shortcuts. - * **Options** - Configuration dialog - \ No newline at end of file diff --git a/README.md b/README.md index 59f8dca..3432a9d 100644 --- a/README.md +++ b/README.md @@ -6,16 +6,80 @@ If you find this project useful, please, read the [Support this Project](#suppor ## Availability -These utilities are available for: +| Id | Old Name | Code Editor | +| ------------- | ------------- | ------------- | +| **vsx** | VscToIX | [Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=a-bentofreire.vsctoix)
Cursor AI
[Google Project IDX](https://idx.dev/)
[open-vsx.org](https://open-vsx.org/extension/a-bentofreire/vsctoix) | +| **xed** | XedToIX | [Linux Mint Xed Editor](https://launchpad.net/~a-bentofreire/+archive/ubuntu/toix) (as plugins) | +| **phoenix** | BracketsToIX | Phoenix Code | -- **vsx**: [Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=a-bentofreire.vsctoix), Cursor AI, Google Project IDX, [open-vsx.org](https://open-vsx.org/extension/a-bentofreire/vsctoix). -- **xed**: [Linux Mint Xed Editor](https://launchpad.net/~a-bentofreire/+archive/ubuntu/toix) (as plugins) -- **phoenix**: Phoenix Code +## Utilities -This project was previously named as: +| General | Selection Policy | Code Editor | +| ------------- | ------------- | ------------- | +| Extract Text | Document | vsx, phoenix | +| Header To Bookmark | Document | vsx, phoenix | +| Mixer | Document | vsx, phoenix | +| Regnize | Document | vsx, phoenix | +| Replace Recipes | Document | vsx | +| Reverse Assignment | Document | vsx, phoenix | + +| Change Case | Selection Policy | Code Editor | +| ------------- | ------------- | ------------- | +| Add Space before Uppercase | Word | vsx, phoenix | +| Camel Case | Word | vsx, phoenix | +| Capitalize | Word | vsx, phoenix | +| Cycle Case | Word | vsx, xed, phoenix | +| Dash Case | Word | vsx, phoenix | +| Dash To Underscore | Word | vsx, phoenix | +| LowerCase | Word | phoenix | +| Underscore To Dash | Word | vsx, phoenix | +| UpperCase | Word | phoenix | + +| Encoders/Decoders | Selection Policy | Code Editor | +| ------------- | ------------- | ------------- | +| Html Decode | Line | phoenix | +| Html Encode | Line | phoenix | +| Url Decode | Line | vsx, phoenix | +| Url Encode | Line | vsx, phoenix | -- **VscToIX** on *Visual Studio Code*. -- **XedToIX** on *Linux Mint Xed*. +| Change Slash | Selection Policy | Code Editor | +| ------------- | ------------- | ------------- | +| Double To Single Slash| Line | vsx, phoenix | +| Single To Double Slash | Line | vsx, phoenix | +| Unix To Win Slash | Line | vsx, phoenix | +| Win To Unix Slash | Line | vsx, phoenix | + +| Line | Selection Policy | Code Editor | +| ------------- | ------------- | ------------- | +| Break Line At | Document | vsx, phoenix | +| Indent One Space | Document | vsx, xed, phoenix | +| Join Lines | Document | vsx, phoenix | +| Outdent One Space | Document | vsx, xed, phoenix | +| Remove Duplicated Lines | Document | vsx, xed, phoenix | +| Remove Empty Lines | Document | vsx, xed, phoenix | +| Sort Numerically Ascending | Document | vsx, xed, phoenix | +| Sort Numerically Descending | Document | vsx, xed, phoenix | +| Split Lines | Document | vsx, phoenix | +| Trim Trailing | Document | xed, phoenix | + +| Insert | Selection Policy | Code Editor | +| ------------- | ------------- | ------------- | +| Insert ISO Date | Document | vsx, phoenix | +| Insert ISO TimeDate | Document | vsx, phoenix | +| Insert UUID | Document | vsx, phoenix | +| Insert Text At End| Document | vsx, phoenix | +| Insert Text At Start | Document | vsx, phoenix | + +| Change Quote | Selection Policy | Code Editor | +| ------------- | ------------- | ------------- | +| Double To Single Quote| Line | phoenix | +| Single To Double Quote | Line | phoenix | +| Toggle Quote | Line | phoenix | + +| Spacing | Selection Policy | Code Editor | +| ------------- | ------------- | ------------- | +| Tab To Space | Document | phoenix | +| Space To Tab | Document | phoenix | ## Project Status @@ -76,88 +140,53 @@ To prevent from cluttering the menu with all the commands, only a few commands w Use Command mapper to add which ones you prefer, and setup the shortcuts. No default shortcuts were define to prevent collision with other plugins. -## Utilities +## Utility Description -### All Editors - -| Word Utility | Example | -| ------------- | ------------- | -|Cycle Case|**before**: `_ClassNameFunc`
**after**: `_classNameFunc -> _CLASS_NAME_FUNC -> _class_name_func -> _class-name-func -> _class name func ->_ClassNameFunc`| - -| Document Utility | Example | -| ------------- | ------------- | -|Sort Numerically Ascending
**For each line uses the first number as sort key**|**before**:
`10. red`
`2. green`

**after**:

`2. green`
`10. red`| -|Sort Numerically Descending
**For each line uses the first number as sort key**|**before**:
`10. red`
`2. -|Remove Duplicated Lines
**Removes consecutive duplicated lines**|**before**:
`first`
`second`
`second`

**after**:

`first`
`second`| -|Remove Empty Lines|**before**:
`first`

`second`

**after**:

`first`
`second`| -|Indent One Space
**Adds one space to the beginning of each line**|| -|Outdent One Space
**Removes one space to the beginning of each line**|| - -### Case Change - [vsx and phoenix Editors](#availability) - -| Word Utility | Example | -| ------------- | ------------- | -|Capitalize|**before**: `classNameFunc`
**after**: `ClassNameFunc`| -|Camel Case|**before**: `ClassNameFunc`
**after**: `classNameFunc`| -|Dash Case|**before**: `ClassNameFunc`
**after**: `class-name-func`| -|Add Space before Uppercase
**Useful to transform functions names into documentation**|**before**: `doActionBefore`
**after**: `do Action Before`| -|Dash To Underscore|**before**: `find-deep-first`
**after**: `find_deep_first`| -|Underscore To Dash|**before**: `find_deep_first`
**after**: `find-deep-first`| - -### Encoders/Decoders - [vsx and phoenix Editors](#availability) - -| Line Utility | Example | -| ------------- | ------------- | -|Url Encode|**before**: `https://github.com`
**after**: `https%3A%2F%2Fgithub.com`| -|Url Decode|**before**: `https%3A%2F%2Fgithub.com`
**after**: `https://github.com`| - -### Slash Change - [vsx and phoenix Editors](#availability) - -| Line Utility | Example | -| ------------- | ------------- | -|Unix To Win Slash
**Converts slashes to backslashes**|**before**: `chocolate/candy`
**after**: `chocolate\candy`| -|Win To Unix Slash
**Converts backslashes to slashes**|**before**: `chocolate\candy`
**after**: `chocolate/candy`| -|Single To Double Slash|**before**: `find\nagain`
**after**: `find\\\nagain`| -|Double To Single Slash|**before**: `find\\\nagain`
**after**: `find\nagain`| - -### Line - [vsx and phoenix Editors](#availability) - -| Line Utility | Example | -| ------------- | ------------- | -|Join Lines
**Joins lines adding the computed expression at the end of every line**|**before**:
`red`
`green`

**after**:
`expr:(x\c{X0A}),`
`red(x0A),green(x0B)`| -|Split Lines
**Split lines by an expression. Dynamic values aren't supported**|**before**:
`red,green`

**after**:
`expr: = \c{1}`
`red = 1`
`green = 2`| -|Break Line At
**Break lines at a certain position**|**before**:
`Too long line`
**after**:
`too long`
`line`| -|Replace Recipes
**replaces text from a list of pre-defined recipes - -### General - [vsx and phoenix Editors](#availability) - -| Line Utility | Example | -| ------------- | ------------- | -|Reverse Assignment
**Reverses the terms of assignments or equal/different comparisons**|**before**: `x == y[x] + 5`
**after**: `y[x] + 5 == x`| -|Regnize
**Adds slash to regular expression metachars**|**before**: `(\w+)[A-Z]a*b+text`
**after**: `\(\\w\+\)\[A-Z\]a\*b\+text`| -|Header To Bookmark
**Converts markdown header text to Html Bookmark**|**before**: `Is this the header 你好?`
**after**: `is-this-the-header-你好`| -|Mixer
**Mixes lines of different sections.**|**before**:
`// section`
`abc`
`cde`
`// end-section`
`// section`
`123`
`345`
`// section`
**after**:
`abc`
`123`
`cde`
`345`| -green`

**after**:

`10. red`
`2. green`| -(read Replace Recipes section)**|`replace text`| -|Insert ISO Date|`2018-02-08`| -|Insert ISO TimeDate|`2018-02-08 10:12:15`| -|Insert UUID|`7fff60f8-91e8-40ba-9053-56b0f3a487f0`| -|Insert Text At End|**before**:
`red`
`green`

**after**:
`expr: = \c{1}`
`red = 1`
`green = 2`| -|Insert Text At Start|**before**:
`red`
`green`

**after**:
`expr: const \e{upper} =`
`const RED = red`
`const GREEN = green`| -|Extract Text
**Copies to the clipboard the captured group of a regular expression. Each capture is separated by tabs**|`(\w+) = (\w+)`| - -### Case Change - [phoenix Editor](#availability) - -| Utility | Example | -| ------------- | ------------- | -|UpperCase|**before**:`classNameFunc`
**after**:`CLASSNAMEFUNC`| -|LowerCase|**before**:`classNameFunc`
**after**:`classnamefunc`| - -### [Linux Mint Xed Editor Only](#availability) - -| Document Plugins | Example | -| ------------- | ------------- | -|Trim Right
**Removes trailing spaces of each line**|| +| Utility | Description | Example | +| ------------- | ------------- | ------------- | +| Add Space before Uppercase | Useful to transform functions names into documentation |**before**: `doActionBefore`
**after**: `do Action Before`| +| Break Line At | Break lines at a certain position |**before**:
`Too long line`
**after**:
`too long`
`line`| +| Camel Case| | **before**: `ClassNameFunc`
**after**: `classNameFunc`| +| Capitalize | | **before**: `classNameFunc`
**after**: `ClassNameFunc`| +| Cycle Case| Loops between differet case types | **before**: `_ClassNameFunc`
**after**: `_classNameFunc -> _CLASS_NAME_FUNC -> _class_name_func -> _class-name-func -> _class name func ->_ClassNameFunc`| +| Dash Case| | **before**: `ClassNameFunc`
**after**: `class-name-func`| +| Dash To Underscore| | **before**: `find-deep-first`
**after**: `find_deep_first`| +| Double To Single Slash | | **before**: `find\\\nagain`
**after**: `find\nagain`| +| Extract Text | Copies to the clipboard the captured group of a regular expression.
Each capture is separated by tabs |`(\w+) = (\w+)`| +| Header To Bookmark | Converts markdown header text to Html Bookmark |**before**: `Is this the header 你好?`
**after**: `is-this-the-header-你好`| +| Indent One Space | Adds one space to the beginning of each line | | +| Insert ISO Date| | `2018-02-08`| +| Insert ISO TimeDate| | `2018-02-08 10:12:15`| +| Insert Text At End| | **before**:
`red`
`green`

**after**:
`expr: = \c{1}`
`red = 1`
`green = 2`| +| Insert Text At Start | | **before**:
`red`
`green`

**after**:
`expr: const \e{upper} =`
`const RED = red`
`const GREEN = green`| +| Insert UUID| | `7fff60f8-91e8-40ba-9053-56b0f3a487f0`| +| Join Lines | Joins lines adding the computed expression at the end of every line |**before**:
`red`
`green`

**after**:
`expr:(x\c{X0A}),`
`red(x0A),green(x0B)`| +| LowerCase | | **before**:`classNameFunc`
**after**:`classnamefunc`| +| Mixer | Mixes lines of different sections. | **before**:
`// section`
`abc`
`cde`
`// end-section`
`// section`
`123`
`345`
`// section`
**after**:
`abc`
`123`
`cde`
`345` | +| Outdent One Space | Removes one space to the beginning of each line | | +| Regnize | Adds slash to regular expression metachars | **before**: `(\w+)[A-Z]a*b+text`
**after**: `\(\\w\+\)\[A-Z\]a\*b\+text`| +| Remove Duplicated Lines | Removes consecutive duplicated lines |**before**:
`first`
`second`
`second`

**after**:

`first`
`second`| +| Remove Empty Lines| Removes empty lines |**before**:
`first`

`second`

**after**:

`first`
`second`| +| Replace Recipes | Replaces text from a list of pre-defined recipes | | +| Reverse Assignment | Reverses the terms of assignments or equal/different comparisons |**before**: `x == y[x] + 5`
**after**: `y[x] + 5 == x`| +| Single To Double Slash | | **before**: `find\nagain`
**after**: `find\\\nagain`| +| Sort Numerically Ascending | For each line uses the first number as sort key |**before**:
`10. red`
`2. green`

**after**:

`2. green`
`10. red`| +| Sort Numerically Descending | For each line uses the first number as sort key |**before**:
`10. red`
`2. | +| Space To Tab | Space to Tab only works with leading spaces|| +| Split Lines | Split lines by an expression. Dynamic values aren't supported |**before**:
`red,green`

**after**:
`expr: = \c{1}`
`red = 1`
`green = 2`| +| Tab To Space | Space to Tab only works with leading spaces|| +| Trim Trailing | | Removes trailing spaces of each line | +| Underscore To Dash| | **before**: `find_deep_first`
**after**: `find-deep-first`| +| Unix To Win Slash | Converts slashes to backslashes | **before**: `chocolate/candy`
**after**: `chocolate\candy`| +| UpperCase | | **before**:`classNameFunc`
**after**:`CLASSNAMEFUNC`| +| Url Decode| | **before**: `https%3A%2F%2Fgithub.com`
**after**: `https://github.com`| +| Url Encode| | **before**: `https://github.com`
**after**: `https%3A%2F%2Fgithub.com`| +| Win To Unix Slash | Converts backslashes to slashes | **before**: `chocolate\candy`
**after**: `chocolate/candy`| +|Double To Single Quote| |**before**:`find"again`
**after**:`find'again`| +|Html Decode||**before**:`<h1>Title</h1>`
**after**:`

Title

`| +|Html Encode||**before**:`

Title

`
**after**:`<h1>Title</h1>`| +|Single To Double Quote| |**before**:`find'again`
**after**:`find"again`| +|Toggle Quote| | **before**:`find"again'`
**after**:`find'again"`| ## Selection Policies @@ -183,7 +212,7 @@ If no text is selected, a command will use: **word** - The nearest word (before and after the cursor) **sentence** - The nearest text until a whitespace or newline **line** - The text line where the cursor is **located**. -**all** - All the editor text +**document** - All the editor text **function** - A function determines the text to use. Ex: Quote functions will use all the text between quotes that surrounds the cursor. ### [Linux Mint Xed Editor](#availability) @@ -224,12 +253,12 @@ This tool is still in beta phase. | Field | Type | Description | | ------------- | ------------- | ------------- | -|name|string| Recipe name | -|pattern|string| Find Expression (RegExp or String) | -|replaceWith|string| Replace Text | -|isRegExp|boolean| if `false` then pattern is a static string | -|isExpression|boolean| if `false` then result doesn't exec the expression engine | -|ignoreCase|boolean| if `true` and `isRegExp` uses `ignore case` option | +| name|string| Recipe name | +| pattern|string| Find Expression (RegExp or String) | +| replaceWith|string| Replace Text | +| isRegExp|boolean| if `false` then pattern is a static string | +| isExpression|boolean| if `false` then result doesn't exec the expression engine | +| ignoreCase|boolean| if `true` and `isRegExp` uses `ignore case` option | ex: diff --git a/phoenix/html/htmltemplatestoix.json b/phoenix/html/htmltemplatestoix.json index 444ee0c..a9f5a20 100644 --- a/phoenix/html/htmltemplatestoix.json +++ b/phoenix/html/htmltemplatestoix.json @@ -3,9 +3,9 @@ "SOCIAL": "", - "ABOUTTEXT": "
BracketstoIX {{version}}
© 2016-2024 Alexandre Bento Freire
", + "ABOUTTEXT": "
EditorToIX {{version}}
© 2016-2024 Alexandre Bento Freire
", - "WELLCOME-deprecated": "

BracketstoIX {{version}}

BracketstoIX 3.2 allows to save project settings,

including spacing and compiler settings.

Take a few minutes to watch the video describing how to unleash its power.

", + "WELLCOME-deprecated": "

EditorToIX {{version}}

EditorToIX allows to save project settings,

including spacing and compiler settings.

Take a few minutes to watch the video describing how to unleash its power.

", "BOTTOMPANEL": "

IX
×
", diff --git a/phoenix/main.js b/phoenix/main.js index 30a86d9..b9a365d 100644 --- a/phoenix/main.js +++ b/phoenix/main.js @@ -11,7 +11,7 @@ define(function (require, exports, module) { // ------------------------------------------------------------------------ // i18n // ------------------------------------------------------------------------ - var VERSION = '4.0.0'; + var VERSION = '4.0.1'; var AUTHOR = 'Alexandre Bento Freire'; var COPYRIGHTS = 'Alexandre Bento Freire'; var IX_MENU = "IX"; diff --git a/phoenix/main.ts b/phoenix/main.ts index bc47e97..2e70aa2 100644 --- a/phoenix/main.ts +++ b/phoenix/main.ts @@ -19,7 +19,7 @@ define((require, exports, module) => { // ------------------------------------------------------------------------ // i18n // ------------------------------------------------------------------------ - const VERSION = '4.0.0'; + const VERSION = '4.0.1'; const AUTHOR = 'Alexandre Bento Freire'; const COPYRIGHTS = 'Alexandre Bento Freire'; diff --git a/phoenix/package.json b/phoenix/package.json index f61d67d..3c774c8 100644 --- a/phoenix/package.json +++ b/phoenix/package.json @@ -2,7 +2,7 @@ "name": "github-a-bentofreire-bracketstoix", "title": "EditorToIX", "description": "Indent,CycleCase,Execute,Lorem ipsum,Break Line,Recent Files.Change(Case, Quote, Slash, Tab, Encoding), Sort, (Un)Tag, Clipboard, Internet, (Minify, traceur, sass, compass), Text Replace, Extrators, JSLint Global, JsDoc. Text Transforms(Reverse, UpperCase, LowerCase, Capitalize, CamelCase, HtmlEncode, HtmlDecode, UrlEncode, UrlDecode, Join, Split, Number, Trim Leading, Trim Trailing, Sort Ascending, Sort Descending, Remove Duplicates, Remove Empty Lines, Unix To Win, Win To Unix, Single Quote To Double, Double To Single Quote, Toggle Quote, Single Slash To Double, Double To Single Slash, rgb-hex, Markdown Trim Trailing, Function JSDoc, Tag, Untag, Numbering).Clipboard(Copy Filename, Copy Fullname, Regnize, ExtratortoIX, Html Report).ReplacetoIX(Replace including Words only, Selection only, Multiline, Regnize, History).Internet Search(Open Url, Web Search, Browse File).Compiler(scss, js6 [ECMAScript 6], compass)", - "version": "4.0.0", + "version": "4.0.1", "publisher": "a-bentofreire", "keywords": [ "scripts", diff --git a/vsx/CHANGELOG.md b/vsx/CHANGELOG.md index 628e65d..910364f 100644 --- a/vsx/CHANGELOG.md +++ b/vsx/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [4.0.1] +### Updated +- Improve Readme.md. +- Fix Capitalize issue. + ## [4.0.0] ### Updated - Merge with other similar extensions. diff --git a/vsx/README.md b/vsx/README.md index 59f8dca..3432a9d 100644 --- a/vsx/README.md +++ b/vsx/README.md @@ -6,16 +6,80 @@ If you find this project useful, please, read the [Support this Project](#suppor ## Availability -These utilities are available for: +| Id | Old Name | Code Editor | +| ------------- | ------------- | ------------- | +| **vsx** | VscToIX | [Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=a-bentofreire.vsctoix)
Cursor AI
[Google Project IDX](https://idx.dev/)
[open-vsx.org](https://open-vsx.org/extension/a-bentofreire/vsctoix) | +| **xed** | XedToIX | [Linux Mint Xed Editor](https://launchpad.net/~a-bentofreire/+archive/ubuntu/toix) (as plugins) | +| **phoenix** | BracketsToIX | Phoenix Code | -- **vsx**: [Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=a-bentofreire.vsctoix), Cursor AI, Google Project IDX, [open-vsx.org](https://open-vsx.org/extension/a-bentofreire/vsctoix). -- **xed**: [Linux Mint Xed Editor](https://launchpad.net/~a-bentofreire/+archive/ubuntu/toix) (as plugins) -- **phoenix**: Phoenix Code +## Utilities -This project was previously named as: +| General | Selection Policy | Code Editor | +| ------------- | ------------- | ------------- | +| Extract Text | Document | vsx, phoenix | +| Header To Bookmark | Document | vsx, phoenix | +| Mixer | Document | vsx, phoenix | +| Regnize | Document | vsx, phoenix | +| Replace Recipes | Document | vsx | +| Reverse Assignment | Document | vsx, phoenix | + +| Change Case | Selection Policy | Code Editor | +| ------------- | ------------- | ------------- | +| Add Space before Uppercase | Word | vsx, phoenix | +| Camel Case | Word | vsx, phoenix | +| Capitalize | Word | vsx, phoenix | +| Cycle Case | Word | vsx, xed, phoenix | +| Dash Case | Word | vsx, phoenix | +| Dash To Underscore | Word | vsx, phoenix | +| LowerCase | Word | phoenix | +| Underscore To Dash | Word | vsx, phoenix | +| UpperCase | Word | phoenix | + +| Encoders/Decoders | Selection Policy | Code Editor | +| ------------- | ------------- | ------------- | +| Html Decode | Line | phoenix | +| Html Encode | Line | phoenix | +| Url Decode | Line | vsx, phoenix | +| Url Encode | Line | vsx, phoenix | -- **VscToIX** on *Visual Studio Code*. -- **XedToIX** on *Linux Mint Xed*. +| Change Slash | Selection Policy | Code Editor | +| ------------- | ------------- | ------------- | +| Double To Single Slash| Line | vsx, phoenix | +| Single To Double Slash | Line | vsx, phoenix | +| Unix To Win Slash | Line | vsx, phoenix | +| Win To Unix Slash | Line | vsx, phoenix | + +| Line | Selection Policy | Code Editor | +| ------------- | ------------- | ------------- | +| Break Line At | Document | vsx, phoenix | +| Indent One Space | Document | vsx, xed, phoenix | +| Join Lines | Document | vsx, phoenix | +| Outdent One Space | Document | vsx, xed, phoenix | +| Remove Duplicated Lines | Document | vsx, xed, phoenix | +| Remove Empty Lines | Document | vsx, xed, phoenix | +| Sort Numerically Ascending | Document | vsx, xed, phoenix | +| Sort Numerically Descending | Document | vsx, xed, phoenix | +| Split Lines | Document | vsx, phoenix | +| Trim Trailing | Document | xed, phoenix | + +| Insert | Selection Policy | Code Editor | +| ------------- | ------------- | ------------- | +| Insert ISO Date | Document | vsx, phoenix | +| Insert ISO TimeDate | Document | vsx, phoenix | +| Insert UUID | Document | vsx, phoenix | +| Insert Text At End| Document | vsx, phoenix | +| Insert Text At Start | Document | vsx, phoenix | + +| Change Quote | Selection Policy | Code Editor | +| ------------- | ------------- | ------------- | +| Double To Single Quote| Line | phoenix | +| Single To Double Quote | Line | phoenix | +| Toggle Quote | Line | phoenix | + +| Spacing | Selection Policy | Code Editor | +| ------------- | ------------- | ------------- | +| Tab To Space | Document | phoenix | +| Space To Tab | Document | phoenix | ## Project Status @@ -76,88 +140,53 @@ To prevent from cluttering the menu with all the commands, only a few commands w Use Command mapper to add which ones you prefer, and setup the shortcuts. No default shortcuts were define to prevent collision with other plugins. -## Utilities +## Utility Description -### All Editors - -| Word Utility | Example | -| ------------- | ------------- | -|Cycle Case|**before**: `_ClassNameFunc`
**after**: `_classNameFunc -> _CLASS_NAME_FUNC -> _class_name_func -> _class-name-func -> _class name func ->_ClassNameFunc`| - -| Document Utility | Example | -| ------------- | ------------- | -|Sort Numerically Ascending
**For each line uses the first number as sort key**|**before**:
`10. red`
`2. green`

**after**:

`2. green`
`10. red`| -|Sort Numerically Descending
**For each line uses the first number as sort key**|**before**:
`10. red`
`2. -|Remove Duplicated Lines
**Removes consecutive duplicated lines**|**before**:
`first`
`second`
`second`

**after**:

`first`
`second`| -|Remove Empty Lines|**before**:
`first`

`second`

**after**:

`first`
`second`| -|Indent One Space
**Adds one space to the beginning of each line**|| -|Outdent One Space
**Removes one space to the beginning of each line**|| - -### Case Change - [vsx and phoenix Editors](#availability) - -| Word Utility | Example | -| ------------- | ------------- | -|Capitalize|**before**: `classNameFunc`
**after**: `ClassNameFunc`| -|Camel Case|**before**: `ClassNameFunc`
**after**: `classNameFunc`| -|Dash Case|**before**: `ClassNameFunc`
**after**: `class-name-func`| -|Add Space before Uppercase
**Useful to transform functions names into documentation**|**before**: `doActionBefore`
**after**: `do Action Before`| -|Dash To Underscore|**before**: `find-deep-first`
**after**: `find_deep_first`| -|Underscore To Dash|**before**: `find_deep_first`
**after**: `find-deep-first`| - -### Encoders/Decoders - [vsx and phoenix Editors](#availability) - -| Line Utility | Example | -| ------------- | ------------- | -|Url Encode|**before**: `https://github.com`
**after**: `https%3A%2F%2Fgithub.com`| -|Url Decode|**before**: `https%3A%2F%2Fgithub.com`
**after**: `https://github.com`| - -### Slash Change - [vsx and phoenix Editors](#availability) - -| Line Utility | Example | -| ------------- | ------------- | -|Unix To Win Slash
**Converts slashes to backslashes**|**before**: `chocolate/candy`
**after**: `chocolate\candy`| -|Win To Unix Slash
**Converts backslashes to slashes**|**before**: `chocolate\candy`
**after**: `chocolate/candy`| -|Single To Double Slash|**before**: `find\nagain`
**after**: `find\\\nagain`| -|Double To Single Slash|**before**: `find\\\nagain`
**after**: `find\nagain`| - -### Line - [vsx and phoenix Editors](#availability) - -| Line Utility | Example | -| ------------- | ------------- | -|Join Lines
**Joins lines adding the computed expression at the end of every line**|**before**:
`red`
`green`

**after**:
`expr:(x\c{X0A}),`
`red(x0A),green(x0B)`| -|Split Lines
**Split lines by an expression. Dynamic values aren't supported**|**before**:
`red,green`

**after**:
`expr: = \c{1}`
`red = 1`
`green = 2`| -|Break Line At
**Break lines at a certain position**|**before**:
`Too long line`
**after**:
`too long`
`line`| -|Replace Recipes
**replaces text from a list of pre-defined recipes - -### General - [vsx and phoenix Editors](#availability) - -| Line Utility | Example | -| ------------- | ------------- | -|Reverse Assignment
**Reverses the terms of assignments or equal/different comparisons**|**before**: `x == y[x] + 5`
**after**: `y[x] + 5 == x`| -|Regnize
**Adds slash to regular expression metachars**|**before**: `(\w+)[A-Z]a*b+text`
**after**: `\(\\w\+\)\[A-Z\]a\*b\+text`| -|Header To Bookmark
**Converts markdown header text to Html Bookmark**|**before**: `Is this the header 你好?`
**after**: `is-this-the-header-你好`| -|Mixer
**Mixes lines of different sections.**|**before**:
`// section`
`abc`
`cde`
`// end-section`
`// section`
`123`
`345`
`// section`
**after**:
`abc`
`123`
`cde`
`345`| -green`

**after**:

`10. red`
`2. green`| -(read Replace Recipes section)**|`replace text`| -|Insert ISO Date|`2018-02-08`| -|Insert ISO TimeDate|`2018-02-08 10:12:15`| -|Insert UUID|`7fff60f8-91e8-40ba-9053-56b0f3a487f0`| -|Insert Text At End|**before**:
`red`
`green`

**after**:
`expr: = \c{1}`
`red = 1`
`green = 2`| -|Insert Text At Start|**before**:
`red`
`green`

**after**:
`expr: const \e{upper} =`
`const RED = red`
`const GREEN = green`| -|Extract Text
**Copies to the clipboard the captured group of a regular expression. Each capture is separated by tabs**|`(\w+) = (\w+)`| - -### Case Change - [phoenix Editor](#availability) - -| Utility | Example | -| ------------- | ------------- | -|UpperCase|**before**:`classNameFunc`
**after**:`CLASSNAMEFUNC`| -|LowerCase|**before**:`classNameFunc`
**after**:`classnamefunc`| - -### [Linux Mint Xed Editor Only](#availability) - -| Document Plugins | Example | -| ------------- | ------------- | -|Trim Right
**Removes trailing spaces of each line**|| +| Utility | Description | Example | +| ------------- | ------------- | ------------- | +| Add Space before Uppercase | Useful to transform functions names into documentation |**before**: `doActionBefore`
**after**: `do Action Before`| +| Break Line At | Break lines at a certain position |**before**:
`Too long line`
**after**:
`too long`
`line`| +| Camel Case| | **before**: `ClassNameFunc`
**after**: `classNameFunc`| +| Capitalize | | **before**: `classNameFunc`
**after**: `ClassNameFunc`| +| Cycle Case| Loops between differet case types | **before**: `_ClassNameFunc`
**after**: `_classNameFunc -> _CLASS_NAME_FUNC -> _class_name_func -> _class-name-func -> _class name func ->_ClassNameFunc`| +| Dash Case| | **before**: `ClassNameFunc`
**after**: `class-name-func`| +| Dash To Underscore| | **before**: `find-deep-first`
**after**: `find_deep_first`| +| Double To Single Slash | | **before**: `find\\\nagain`
**after**: `find\nagain`| +| Extract Text | Copies to the clipboard the captured group of a regular expression.
Each capture is separated by tabs |`(\w+) = (\w+)`| +| Header To Bookmark | Converts markdown header text to Html Bookmark |**before**: `Is this the header 你好?`
**after**: `is-this-the-header-你好`| +| Indent One Space | Adds one space to the beginning of each line | | +| Insert ISO Date| | `2018-02-08`| +| Insert ISO TimeDate| | `2018-02-08 10:12:15`| +| Insert Text At End| | **before**:
`red`
`green`

**after**:
`expr: = \c{1}`
`red = 1`
`green = 2`| +| Insert Text At Start | | **before**:
`red`
`green`

**after**:
`expr: const \e{upper} =`
`const RED = red`
`const GREEN = green`| +| Insert UUID| | `7fff60f8-91e8-40ba-9053-56b0f3a487f0`| +| Join Lines | Joins lines adding the computed expression at the end of every line |**before**:
`red`
`green`

**after**:
`expr:(x\c{X0A}),`
`red(x0A),green(x0B)`| +| LowerCase | | **before**:`classNameFunc`
**after**:`classnamefunc`| +| Mixer | Mixes lines of different sections. | **before**:
`// section`
`abc`
`cde`
`// end-section`
`// section`
`123`
`345`
`// section`
**after**:
`abc`
`123`
`cde`
`345` | +| Outdent One Space | Removes one space to the beginning of each line | | +| Regnize | Adds slash to regular expression metachars | **before**: `(\w+)[A-Z]a*b+text`
**after**: `\(\\w\+\)\[A-Z\]a\*b\+text`| +| Remove Duplicated Lines | Removes consecutive duplicated lines |**before**:
`first`
`second`
`second`

**after**:

`first`
`second`| +| Remove Empty Lines| Removes empty lines |**before**:
`first`

`second`

**after**:

`first`
`second`| +| Replace Recipes | Replaces text from a list of pre-defined recipes | | +| Reverse Assignment | Reverses the terms of assignments or equal/different comparisons |**before**: `x == y[x] + 5`
**after**: `y[x] + 5 == x`| +| Single To Double Slash | | **before**: `find\nagain`
**after**: `find\\\nagain`| +| Sort Numerically Ascending | For each line uses the first number as sort key |**before**:
`10. red`
`2. green`

**after**:

`2. green`
`10. red`| +| Sort Numerically Descending | For each line uses the first number as sort key |**before**:
`10. red`
`2. | +| Space To Tab | Space to Tab only works with leading spaces|| +| Split Lines | Split lines by an expression. Dynamic values aren't supported |**before**:
`red,green`

**after**:
`expr: = \c{1}`
`red = 1`
`green = 2`| +| Tab To Space | Space to Tab only works with leading spaces|| +| Trim Trailing | | Removes trailing spaces of each line | +| Underscore To Dash| | **before**: `find_deep_first`
**after**: `find-deep-first`| +| Unix To Win Slash | Converts slashes to backslashes | **before**: `chocolate/candy`
**after**: `chocolate\candy`| +| UpperCase | | **before**:`classNameFunc`
**after**:`CLASSNAMEFUNC`| +| Url Decode| | **before**: `https%3A%2F%2Fgithub.com`
**after**: `https://github.com`| +| Url Encode| | **before**: `https://github.com`
**after**: `https%3A%2F%2Fgithub.com`| +| Win To Unix Slash | Converts backslashes to slashes | **before**: `chocolate\candy`
**after**: `chocolate/candy`| +|Double To Single Quote| |**before**:`find"again`
**after**:`find'again`| +|Html Decode||**before**:`<h1>Title</h1>`
**after**:`

Title

`| +|Html Encode||**before**:`

Title

`
**after**:`<h1>Title</h1>`| +|Single To Double Quote| |**before**:`find'again`
**after**:`find"again`| +|Toggle Quote| | **before**:`find"again'`
**after**:`find'again"`| ## Selection Policies @@ -183,7 +212,7 @@ If no text is selected, a command will use: **word** - The nearest word (before and after the cursor) **sentence** - The nearest text until a whitespace or newline **line** - The text line where the cursor is **located**. -**all** - All the editor text +**document** - All the editor text **function** - A function determines the text to use. Ex: Quote functions will use all the text between quotes that surrounds the cursor. ### [Linux Mint Xed Editor](#availability) @@ -224,12 +253,12 @@ This tool is still in beta phase. | Field | Type | Description | | ------------- | ------------- | ------------- | -|name|string| Recipe name | -|pattern|string| Find Expression (RegExp or String) | -|replaceWith|string| Replace Text | -|isRegExp|boolean| if `false` then pattern is a static string | -|isExpression|boolean| if `false` then result doesn't exec the expression engine | -|ignoreCase|boolean| if `true` and `isRegExp` uses `ignore case` option | +| name|string| Recipe name | +| pattern|string| Find Expression (RegExp or String) | +| replaceWith|string| Replace Text | +| isRegExp|boolean| if `false` then pattern is a static string | +| isExpression|boolean| if `false` then result doesn't exec the expression engine | +| ignoreCase|boolean| if `true` and `isRegExp` uses `ignore case` option | ex: diff --git a/vsx/package-lock.json b/vsx/package-lock.json index 5db69f8..6f83fd2 100644 --- a/vsx/package-lock.json +++ b/vsx/package-lock.json @@ -1,17 +1,16 @@ { "name": "vsctoix", - "version": "1.8.6", + "version": "4.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "vsctoix", - "version": "1.8.6", + "version": "4.0.0", "hasInstallScript": true, "license": "SEE LICENSE IN LICENSE.txt", "dependencies": { "@vscode/l10n": "^0.0.18", - "@vscode/l10n-dev": "^0.0.35", "copy-paste": "^1.3.0" }, "devDependencies": { @@ -19,6 +18,7 @@ "@types/vscode": "^1.90.0", "@typescript-eslint/eslint-plugin": "^7.13.0", "@typescript-eslint/parser": "^7.13.0", + "@vscode/l10n-dev": "^0.0.35", "@vscode/test-electron": "^2.4.0", "eslint": "^8.57.0", "typescript": "^5.4.5" @@ -31,6 +31,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/@azure-rest/ai-translation-text/-/ai-translation-text-1.0.0.tgz", "integrity": "sha512-Zt1nwHdvfEzM6EVnx4cLz6GNYS5gxYWbwA3dAr6+NM9CWb3vk+p2Vy/mleU53OSeJvkzhpjXJ78qiJh42JmcXA==", + "dev": true, "dependencies": { "@azure-rest/core-client": "^1.1.0", "@azure/core-auth": "^1.3.0", @@ -46,6 +47,7 @@ "version": "1.4.0", "resolved": "https://registry.npmjs.org/@azure-rest/core-client/-/core-client-1.4.0.tgz", "integrity": "sha512-ozTDPBVUDR5eOnMIwhggbnVmOrka4fXCs8n8mvUo4WLLc38kki6bAOByDoVZZPz/pZy2jMt2kwfpvy/UjALj6w==", + "dev": true, "dependencies": { "@azure/abort-controller": "^2.0.0", "@azure/core-auth": "^1.3.0", @@ -62,6 +64,7 @@ "version": "2.1.2", "resolved": "https://registry.npmjs.org/@azure/abort-controller/-/abort-controller-2.1.2.tgz", "integrity": "sha512-nBrLsEWm4J2u5LpAPjxADTlq3trDgVZZXHNKabeXZtpq3d3AbN/KGO82R87rdDz5/lYB024rtEf10/q0urNgsA==", + "dev": true, "dependencies": { "tslib": "^2.6.2" }, @@ -73,6 +76,7 @@ "version": "1.7.2", "resolved": "https://registry.npmjs.org/@azure/core-auth/-/core-auth-1.7.2.tgz", "integrity": "sha512-Igm/S3fDYmnMq1uKS38Ae1/m37B3zigdlZw+kocwEhh5GjyKjPrXKO2J6rzpC1wAxrNil/jX9BJRqBshyjnF3g==", + "dev": true, "dependencies": { "@azure/abort-controller": "^2.0.0", "@azure/core-util": "^1.1.0", @@ -86,6 +90,7 @@ "version": "1.16.3", "resolved": "https://registry.npmjs.org/@azure/core-rest-pipeline/-/core-rest-pipeline-1.16.3.tgz", "integrity": "sha512-VxLk4AHLyqcHsfKe4MZ6IQ+D+ShuByy+RfStKfSjxJoL3WBWq17VNmrz8aT8etKzqc2nAeIyLxScjpzsS4fz8w==", + "dev": true, "dependencies": { "@azure/abort-controller": "^2.0.0", "@azure/core-auth": "^1.4.0", @@ -104,6 +109,7 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/@azure/core-tracing/-/core-tracing-1.1.2.tgz", "integrity": "sha512-dawW9ifvWAWmUm9/h+/UQ2jrdvjCJ7VJEuCJ6XVNudzcOwm53BFZH4Q845vjfgoUAM8ZxokvVNxNxAITc502YA==", + "dev": true, "dependencies": { "tslib": "^2.6.2" }, @@ -115,6 +121,7 @@ "version": "1.9.2", "resolved": "https://registry.npmjs.org/@azure/core-util/-/core-util-1.9.2.tgz", "integrity": "sha512-l1Qrqhi4x1aekkV+OlcqsJa4AnAkj5p0JV8omgwjaV9OAbP41lvrMvs+CptfetKkeEaGRGSzby7sjPZEX7+kkQ==", + "dev": true, "dependencies": { "@azure/abort-controller": "^2.0.0", "tslib": "^2.6.2" @@ -127,6 +134,7 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/@azure/logger/-/logger-1.1.4.tgz", "integrity": "sha512-4IXXzcCdLdlXuCG+8UKEwLA1T1NHqUfanhXYHiQTn+6sfWCZXduqbtXDGceg3Ce5QxTGo7EqmbV6Bi+aqKuClQ==", + "dev": true, "dependencies": { "tslib": "^2.6.2" }, @@ -273,6 +281,7 @@ "version": "8.0.2", "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "dev": true, "dependencies": { "string-width": "^5.1.2", "string-width-cjs": "npm:string-width@^4.2.0", @@ -289,6 +298,7 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "dev": true, "engines": { "node": ">=12" }, @@ -300,6 +310,7 @@ "version": "6.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "dev": true, "engines": { "node": ">=12" }, @@ -310,12 +321,14 @@ "node_modules/@isaacs/cliui/node_modules/emoji-regex": { "version": "9.2.2", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", - "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", + "dev": true }, "node_modules/@isaacs/cliui/node_modules/string-width": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dev": true, "dependencies": { "eastasianwidth": "^0.2.0", "emoji-regex": "^9.2.2", @@ -332,6 +345,7 @@ "version": "7.1.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dev": true, "dependencies": { "ansi-regex": "^6.0.1" }, @@ -346,6 +360,7 @@ "version": "8.1.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "dev": true, "dependencies": { "ansi-styles": "^6.1.0", "string-width": "^5.0.1", @@ -397,6 +412,7 @@ "version": "0.11.0", "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "dev": true, "optional": true, "engines": { "node": ">=14" @@ -617,6 +633,7 @@ "version": "0.0.35", "resolved": "https://registry.npmjs.org/@vscode/l10n-dev/-/l10n-dev-0.0.35.tgz", "integrity": "sha512-s6uzBXsVDSL69Z85HSqpc5dfKswQkeucY8L00t1TWzGalw7wkLQUKMRwuzqTq+AMwQKrRd7Po14cMoTcd11iDw==", + "dev": true, "dependencies": { "@azure-rest/ai-translation-text": "^1.0.0-beta.1", "debug": "^4.3.4", @@ -637,6 +654,7 @@ "version": "10.4.5", "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", + "dev": true, "dependencies": { "foreground-child": "^3.1.0", "jackspeak": "^3.1.2", @@ -693,6 +711,7 @@ "version": "7.1.1", "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.1.tgz", "integrity": "sha512-H0TSyFNDMomMNJQBn8wFV5YC/2eJ+VXECwOadZJT554xP6cODZHPX3H9QMQECxvrgiSOP1pHjy1sMWQVYJOUOA==", + "dev": true, "dependencies": { "debug": "^4.3.4" }, @@ -720,6 +739,7 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, "engines": { "node": ">=8" } @@ -728,6 +748,7 @@ "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, "dependencies": { "color-convert": "^2.0.1" }, @@ -741,7 +762,8 @@ "node_modules/argparse": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true }, "node_modules/array-union": { "version": "2.1.0", @@ -755,7 +777,8 @@ "node_modules/balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true }, "node_modules/base64-js": { "version": "1.5.1", @@ -805,12 +828,14 @@ "node_modules/boolbase": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", - "integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==" + "integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==", + "dev": true }, "node_modules/brace-expansion": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, "dependencies": { "balanced-match": "^1.0.0" } @@ -907,6 +932,7 @@ "version": "8.0.1", "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "dev": true, "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.1", @@ -919,12 +945,14 @@ "node_modules/cliui/node_modules/emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true }, "node_modules/cliui/node_modules/string-width": { "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -938,6 +966,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, "dependencies": { "color-name": "~1.1.4" }, @@ -948,7 +977,8 @@ "node_modules/color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true }, "node_modules/concat-map": { "version": "0.0.1", @@ -974,6 +1004,7 @@ "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "dev": true, "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", @@ -987,6 +1018,7 @@ "version": "5.1.0", "resolved": "https://registry.npmjs.org/css-select/-/css-select-5.1.0.tgz", "integrity": "sha512-nwoRF1rvRRnnCqqY7updORDsuqKzqYJ28+oSMaJMMgOauh3fvwHqMS7EZpIPqK8GL+g9mKxF1vP/ZjSeNjEVHg==", + "dev": true, "dependencies": { "boolbase": "^1.0.0", "css-what": "^6.1.0", @@ -1002,6 +1034,7 @@ "version": "6.1.0", "resolved": "https://registry.npmjs.org/css-what/-/css-what-6.1.0.tgz", "integrity": "sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==", + "dev": true, "engines": { "node": ">= 6" }, @@ -1013,6 +1046,7 @@ "version": "4.3.5", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.5.tgz", "integrity": "sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg==", + "dev": true, "dependencies": { "ms": "2.1.2" }, @@ -1035,6 +1069,7 @@ "version": "1.5.0", "resolved": "https://registry.npmjs.org/deepmerge-json/-/deepmerge-json-1.5.0.tgz", "integrity": "sha512-jZRrDmBKjmGcqMFEUJ14FjMJwm05Qaked+1vxaALRtF0UAl7lPU8OLWXFxvoeg3jbQM249VPFVn8g2znaQkEtA==", + "dev": true, "engines": { "node": ">=4.0.0" } @@ -1067,6 +1102,7 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz", "integrity": "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==", + "dev": true, "dependencies": { "domelementtype": "^2.3.0", "domhandler": "^5.0.2", @@ -1080,6 +1116,7 @@ "version": "2.3.0", "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz", "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==", + "dev": true, "funding": [ { "type": "github", @@ -1091,6 +1128,7 @@ "version": "5.0.3", "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz", "integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==", + "dev": true, "dependencies": { "domelementtype": "^2.3.0" }, @@ -1105,6 +1143,7 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.1.0.tgz", "integrity": "sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA==", + "dev": true, "dependencies": { "dom-serializer": "^2.0.0", "domelementtype": "^2.3.0", @@ -1117,7 +1156,8 @@ "node_modules/eastasianwidth": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", - "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==" + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", + "dev": true }, "node_modules/emoji-regex": { "version": "10.3.0", @@ -1129,6 +1169,7 @@ "version": "4.5.0", "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", + "dev": true, "engines": { "node": ">=0.12" }, @@ -1140,6 +1181,7 @@ "version": "3.2.0", "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "dev": true, "engines": { "node": ">=6" } @@ -1419,6 +1461,7 @@ "version": "5.0.2", "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", + "dev": true, "bin": { "flat": "cli.js" } @@ -1447,6 +1490,7 @@ "version": "3.3.0", "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.0.tgz", "integrity": "sha512-Ld2g8rrAyMYFXBhEqMz8ZAHBi4J4uS1i/CxGMDnjyFWddMXLVcDp051DZfu+t7+ab7Wv6SMqpWmyFIj5UbfFvg==", + "dev": true, "dependencies": { "cross-spawn": "^7.0.0", "signal-exit": "^4.0.1" @@ -1462,6 +1506,7 @@ "version": "4.1.0", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true, "engines": { "node": ">=14" }, @@ -1479,6 +1524,7 @@ "version": "2.0.5", "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "dev": true, "engines": { "node": "6.* || 8.* || >= 10.*" } @@ -1487,6 +1533,7 @@ "version": "7.0.0", "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-7.0.0.tgz", "integrity": "sha512-zRKcywvrXlXsA0v0i9Io4KDRaAw7+a1ZpjRwl9Wox8PFlVCCHra7E9c4kqXCoCM9nR5tBkaTTZRBoCm60bFqTQ==", + "dev": true, "engines": { "node": ">=8" } @@ -1600,6 +1647,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", + "dev": true, "bin": { "he": "bin/he" } @@ -1608,6 +1656,7 @@ "version": "7.0.2", "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz", "integrity": "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==", + "dev": true, "dependencies": { "agent-base": "^7.1.0", "debug": "^4.3.4" @@ -1620,6 +1669,7 @@ "version": "7.0.4", "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.4.tgz", "integrity": "sha512-wlwpilI7YdjSkWaQ/7omYBMTliDcmCN8OLihO6I9B86g06lMyAoqgoDpV0XqoaPOKj+0DIdAvnsWfyAAhmimcg==", + "dev": true, "dependencies": { "agent-base": "^7.0.2", "debug": "4" @@ -1729,6 +1779,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, "engines": { "node": ">=8" } @@ -1796,12 +1847,14 @@ "node_modules/isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==" + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true }, "node_modules/jackspeak": { "version": "3.4.3", "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz", "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==", + "dev": true, "dependencies": { "@isaacs/cliui": "^8.0.2" }, @@ -1889,6 +1942,7 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-5.0.0.tgz", "integrity": "sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ==", + "dev": true, "dependencies": { "uc.micro": "^2.0.0" } @@ -1945,12 +1999,14 @@ "node_modules/lru-cache": { "version": "10.4.3", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", - "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==" + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", + "dev": true }, "node_modules/markdown-it": { "version": "14.1.0", "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-14.1.0.tgz", "integrity": "sha512-a54IwgWPaeBCAAsv13YgmALOF1elABB08FxO9i+r4VFk5Vl4pKokRPeX8u5TCgSsPi6ec1otfLjdOpVcgbpshg==", + "dev": true, "dependencies": { "argparse": "^2.0.1", "entities": "^4.4.0", @@ -1966,7 +2022,8 @@ "node_modules/mdurl": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-2.0.0.tgz", - "integrity": "sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w==" + "integrity": "sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w==", + "dev": true }, "node_modules/merge2": { "version": "1.4.1", @@ -2003,6 +2060,7 @@ "version": "9.0.4", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.4.tgz", "integrity": "sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==", + "dev": true, "dependencies": { "brace-expansion": "^2.0.1" }, @@ -2017,6 +2075,7 @@ "version": "7.1.2", "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "dev": true, "engines": { "node": ">=16 || 14 >=14.17" } @@ -2024,7 +2083,8 @@ "node_modules/ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true }, "node_modules/natural-compare": { "version": "1.4.0", @@ -2036,6 +2096,7 @@ "version": "1.3.0", "resolved": "https://registry.npmjs.org/node-html-markdown/-/node-html-markdown-1.3.0.tgz", "integrity": "sha512-OeFi3QwC/cPjvVKZ114tzzu+YoR+v9UXW5RwSXGUqGb0qCl0DvP406tzdL7SFn8pZrMyzXoisfG2zcuF9+zw4g==", + "dev": true, "dependencies": { "node-html-parser": "^6.1.1" }, @@ -2047,6 +2108,7 @@ "version": "6.1.13", "resolved": "https://registry.npmjs.org/node-html-parser/-/node-html-parser-6.1.13.tgz", "integrity": "sha512-qIsTMOY4C/dAa5Q5vsobRpOOvPfC4pB61UVW2uSwZNUp0QU/jCekTal1vMmbO0DgdHeLUJpv/ARmDqErVxA3Sg==", + "dev": true, "dependencies": { "css-select": "^5.1.0", "he": "1.2.0" @@ -2056,6 +2118,7 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz", "integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==", + "dev": true, "dependencies": { "boolbase": "^1.0.0" }, @@ -2199,7 +2262,8 @@ "node_modules/package-json-from-dist": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.0.tgz", - "integrity": "sha512-dATvCeZN/8wQsGywez1mzHtTlP22H8OEfPrVMLNr4/eGa+ijtLn/6M5f0dY8UKNrC2O9UCU6SSoG3qRKnt7STw==" + "integrity": "sha512-dATvCeZN/8wQsGywez1mzHtTlP22H8OEfPrVMLNr4/eGa+ijtLn/6M5f0dY8UKNrC2O9UCU6SSoG3qRKnt7STw==", + "dev": true }, "node_modules/pako": { "version": "1.0.11", @@ -2241,6 +2305,7 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, "engines": { "node": ">=8" } @@ -2249,6 +2314,7 @@ "version": "1.11.1", "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", + "dev": true, "dependencies": { "lru-cache": "^10.2.0", "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" @@ -2300,6 +2366,7 @@ "version": "2.4.0", "resolved": "https://registry.npmjs.org/pseudo-localization/-/pseudo-localization-2.4.0.tgz", "integrity": "sha512-ISYMOKY8+f+PmiXMFw2y6KLY74LBrv/8ml/VjjoVEV2k+MS+OJZz7ydciK5ntJwxPrKQPTU1+oXq9Mx2b0zEzg==", + "dev": true, "dependencies": { "flat": "^5.0.2", "get-stdin": "^7.0.0", @@ -2314,6 +2381,7 @@ "version": "4.9.5", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", + "dev": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -2335,6 +2403,7 @@ "version": "2.3.1", "resolved": "https://registry.npmjs.org/punycode.js/-/punycode.js-2.3.1.tgz", "integrity": "sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==", + "dev": true, "engines": { "node": ">=6" } @@ -2378,6 +2447,7 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", + "dev": true, "engines": { "node": ">=0.10.0" } @@ -2470,7 +2540,8 @@ "node_modules/sax": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/sax/-/sax-1.4.1.tgz", - "integrity": "sha512-+aWOz7yVScEGoKNd4PA10LZ8sk0A/z5+nXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg==" + "integrity": "sha512-+aWOz7yVScEGoKNd4PA10LZ8sk0A/z5+nXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg==", + "dev": true }, "node_modules/semver": { "version": "7.6.2", @@ -2494,6 +2565,7 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, "dependencies": { "shebang-regex": "^3.0.0" }, @@ -2505,6 +2577,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true, "engines": { "node": ">=8" } @@ -2570,6 +2643,7 @@ "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -2582,7 +2656,8 @@ "node_modules/string-width-cjs/node_modules/emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true }, "node_modules/string-width/node_modules/ansi-regex": { "version": "6.0.1", @@ -2615,6 +2690,7 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, "dependencies": { "ansi-regex": "^5.0.1" }, @@ -2627,6 +2703,7 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, "dependencies": { "ansi-regex": "^5.0.1" }, @@ -2691,7 +2768,8 @@ "node_modules/tslib": { "version": "2.7.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", - "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==" + "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==", + "dev": true }, "node_modules/type-check": { "version": "0.4.0", @@ -2733,7 +2811,8 @@ "node_modules/uc.micro": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-2.1.0.tgz", - "integrity": "sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A==" + "integrity": "sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A==", + "dev": true }, "node_modules/undici-types": { "version": "5.26.5", @@ -2759,12 +2838,14 @@ "node_modules/web-tree-sitter": { "version": "0.20.8", "resolved": "https://registry.npmjs.org/web-tree-sitter/-/web-tree-sitter-0.20.8.tgz", - "integrity": "sha512-weOVgZ3aAARgdnb220GqYuh7+rZU0Ka9k9yfKtGAzEYMa6GgiCzW9JjQRJyCJakvibQW+dfjJdihjInKuuCAUQ==" + "integrity": "sha512-weOVgZ3aAARgdnb220GqYuh7+rZU0Ka9k9yfKtGAzEYMa6GgiCzW9JjQRJyCJakvibQW+dfjJdihjInKuuCAUQ==", + "dev": true }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, "dependencies": { "isexe": "^2.0.0" }, @@ -2788,6 +2869,7 @@ "version": "7.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", @@ -2805,6 +2887,7 @@ "version": "7.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", @@ -2820,12 +2903,14 @@ "node_modules/wrap-ansi-cjs/node_modules/emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true }, "node_modules/wrap-ansi-cjs/node_modules/string-width": { "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -2838,12 +2923,14 @@ "node_modules/wrap-ansi/node_modules/emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true }, "node_modules/wrap-ansi/node_modules/string-width": { "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -2863,6 +2950,7 @@ "version": "0.5.0", "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.5.0.tgz", "integrity": "sha512-drPFnkQJik/O+uPKpqSgr22mpuFHqKdbS835iAQrUC73L2F5WkboIRd63ai/2Yg6I1jzifPFKH2NTK+cfglkIA==", + "dev": true, "dependencies": { "sax": ">=0.6.0", "xmlbuilder": "~11.0.0" @@ -2875,6 +2963,7 @@ "version": "11.0.1", "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==", + "dev": true, "engines": { "node": ">=4.0" } @@ -2883,6 +2972,7 @@ "version": "5.0.8", "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "dev": true, "engines": { "node": ">=10" } @@ -2891,6 +2981,7 @@ "version": "17.7.2", "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", + "dev": true, "dependencies": { "cliui": "^8.0.1", "escalade": "^3.1.1", @@ -2908,6 +2999,7 @@ "version": "21.1.1", "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "dev": true, "engines": { "node": ">=12" } @@ -2915,12 +3007,14 @@ "node_modules/yargs/node_modules/emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true }, "node_modules/yargs/node_modules/string-width": { "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", diff --git a/vsx/package.json b/vsx/package.json index 3b11a7f..f7e4180 100644 --- a/vsx/package.json +++ b/vsx/package.json @@ -2,7 +2,7 @@ "name": "vsctoix", "displayName": "EditorToIX", "description": "extract,join,split,encode,mix,change case and slash,del dup,regex, and more", - "version": "4.0.0", + "version": "4.0.1", "publisher": "a-bentofreire", "keywords": [ "transform", @@ -251,13 +251,13 @@ "@types/vscode": "^1.90.0", "@typescript-eslint/eslint-plugin": "^7.13.0", "@typescript-eslint/parser": "^7.13.0", + "@vscode/l10n-dev": "^0.0.35", "@vscode/test-electron": "^2.4.0", "eslint": "^8.57.0", "typescript": "^5.4.5" }, "dependencies": { "@vscode/l10n": "^0.0.18", - "@vscode/l10n-dev": "^0.0.35", "copy-paste": "^1.3.0" }, "__metadata": { @@ -265,4 +265,4 @@ "publisherDisplayName": "Alexandre Bento Freire", "publisherId": "2d11840a-7f14-4779-ab8f-bf37482edd5f" } -} \ No newline at end of file +} diff --git a/vsx/package.nls.json b/vsx/package.nls.json index be5ac36..997dcf3 100644 --- a/vsx/package.nls.json +++ b/vsx/package.nls.json @@ -1,5 +1,5 @@ { - "toix.capitalize": "IX: CapitalizeX", + "toix.capitalize": "IX: Capitalize", "toix.camelCase": "IX: Camel Case", "toix.dashCase": "IX: Dash Case", "toix.cycleCase": "IX: Cycle Case", diff --git a/vsx/package.nls.pt.json b/vsx/package.nls.pt.json index bae5c44..9bfde1e 100644 --- a/vsx/package.nls.pt.json +++ b/vsx/package.nls.pt.json @@ -1,5 +1,5 @@ { - "toix.capitalize": "IX: CapitalizeX", + "toix.capitalize": "IX: Capitalizar", "toix.camelCase": "IX: Camel Case", "toix.dashCase": "IX: Dash Case", "toix.cycleCase": "IX: Cycle Case", diff --git a/xed/debian/changelog b/xed/debian/changelog index 549e407..bdba20b 100644 --- a/xed/debian/changelog +++ b/xed/debian/changelog @@ -1,3 +1,11 @@ +editortoix (4.0.1) noble; urgency=low + + * Prevents install if xedtoix already exists + * Rename Trim Right to Trim Trailing + + -- Alexandre Bento Freire Sun, 08 Sep 2024 09:56:36 +0000 + + editortoix (4.0.0) noble; urgency=low * Integrate with same extensions of other code editors diff --git a/xed/debian/control b/xed/debian/control index 54f1970..3714f59 100644 --- a/xed/debian/control +++ b/xed/debian/control @@ -3,10 +3,11 @@ Section: misc Priority: optional Maintainer: Alexandre Bento Freire Build-Depends: debhelper (>=10) -Standards-Version: 4.0.0 +Standards-Version: 4.6.2 Homepage: https://www.devtoix.com/en/projects/editortoix Package: editortoix Architecture: any Depends: python3, dconf-cli, ${misc:Depends} Description: Linux Mint XEd plugin collection +Conflicts: xedtoix \ No newline at end of file diff --git a/xed/debian/postinst b/xed/debian/postinst index 3d18643..cd09c31 100755 --- a/xed/debian/postinst +++ b/xed/debian/postinst @@ -4,14 +4,15 @@ set -e case "$1" in configure) echo "Running post-installation script" + ORIGINAL_USER=${SUDO_USER:-$(logname)} + if [ -z "$ORIGINAL_USER" ]; then + echo "Unable to determine the non-root user to execute dconf commands." + exit 1 + fi + PLUGINS="$(sudo -u "$ORIGINAL_USER" dconf read /org/x/editor/plugins/active-plugins)" + echo $PLUGINS >/var/log/editortoix-postinst.log 2>&1 + if [ -z "$2" ]; then - ORIGINAL_USER=${SUDO_USER:-$(logname)} - if [ -z "$ORIGINAL_USER" ]; then - echo "Unable to determine the non-root user to execute dconf commands." - exit 1 - fi - PLUGINS="$(sudo -u "$ORIGINAL_USER" dconf read /org/x/editor/plugins/active-plugins)" - echo $PLUGINS >/var/log/editortoix-postinst.log 2>&1 if [ -n "$PLUGINS" ]; then case "$PLUGINS" in *toix_*) @@ -30,6 +31,11 @@ case "$1" in ;; esac fi + elif [ "$2" = "4.0.1" ]; then + rm -rf "/usr/lib/x86_64-linux-gnu/xed/plugins/toix_trimright" + PLUGINS="$(echo "$PLUGINS" | sed 's/trimright/trimtrailing/')" + echo $PLUGINS >>/var/log/editortoix-postinst.log 2>&1 + sudo -u "$ORIGINAL_USER" dconf write /org/x/editor/plugins/active-plugins "$PLUGINS" fi ;; *) diff --git a/xed/usr/lib/x86_64-linux-gnu/xed/plugins/toix_proxy/locale/en/LC_MESSAGES/xedtoix.po b/xed/usr/lib/x86_64-linux-gnu/xed/plugins/toix_proxy/locale/en/LC_MESSAGES/editortoix.po similarity index 96% rename from xed/usr/lib/x86_64-linux-gnu/xed/plugins/toix_proxy/locale/en/LC_MESSAGES/xedtoix.po rename to xed/usr/lib/x86_64-linux-gnu/xed/plugins/toix_proxy/locale/en/LC_MESSAGES/editortoix.po index 366c3d6..a42579a 100644 --- a/xed/usr/lib/x86_64-linux-gnu/xed/plugins/toix_proxy/locale/en/LC_MESSAGES/xedtoix.po +++ b/xed/usr/lib/x86_64-linux-gnu/xed/plugins/toix_proxy/locale/en/LC_MESSAGES/editortoix.po @@ -47,8 +47,8 @@ msgstr "Sort Numerically Descending" msgid "Sorts Numerically Descending" msgstr "Sorts Numerically Descending" -msgid "Trim Right" -msgstr "Trim Right" +msgid "Trim Trailing" +msgstr "Trim Trailing" msgid "Removes Trailing Spaces" msgstr "Removes Trailing Spaces" diff --git a/xed/usr/lib/x86_64-linux-gnu/xed/plugins/toix_trimright/toix_trimright.plugin b/xed/usr/lib/x86_64-linux-gnu/xed/plugins/toix_trimtrailing/toix_trimtrailing.plugin similarity index 81% rename from xed/usr/lib/x86_64-linux-gnu/xed/plugins/toix_trimright/toix_trimright.plugin rename to xed/usr/lib/x86_64-linux-gnu/xed/plugins/toix_trimtrailing/toix_trimtrailing.plugin index 4de0c40..e903bb0 100644 --- a/xed/usr/lib/x86_64-linux-gnu/xed/plugins/toix_trimright/toix_trimright.plugin +++ b/xed/usr/lib/x86_64-linux-gnu/xed/plugins/toix_trimtrailing/toix_trimtrailing.plugin @@ -1,8 +1,8 @@ [Plugin] Loader=python3 -Module=toix_trimright +Module=toix_trimtrailing IAge=3 -Name=IX: Trim Right +Name=IX: Trim Trailing Description=Removes Trailing Spaces Icon=gnome-mime-text-x-python Authors=Alexandre Bento Freire diff --git a/xed/usr/lib/x86_64-linux-gnu/xed/plugins/toix_trimright/toix_trimright.py b/xed/usr/lib/x86_64-linux-gnu/xed/plugins/toix_trimtrailing/toix_trimtrailing.py similarity index 85% rename from xed/usr/lib/x86_64-linux-gnu/xed/plugins/toix_trimright/toix_trimright.py rename to xed/usr/lib/x86_64-linux-gnu/xed/plugins/toix_trimtrailing/toix_trimtrailing.py index adaa11b..44cf148 100644 --- a/xed/usr/lib/x86_64-linux-gnu/xed/plugins/toix_trimright/toix_trimright.py +++ b/xed/usr/lib/x86_64-linux-gnu/xed/plugins/toix_trimtrailing/toix_trimtrailing.py @@ -12,8 +12,8 @@ from toix_proxy import ToIXProxy # noqa -class TrimRightPlugin(GObject.Object, Xed.WindowActivatable): - __gtype_name__ = "TrimRightPlugin" +class TrimTrailingPlugin(GObject.Object, Xed.WindowActivatable): + __gtype_name__ = "TrimTrailingPlugin" window = GObject.property(type=Xed.Window) @@ -32,8 +32,8 @@ def do_deactivate(self): def info(self): return { - "Id": "TrimRight", - "Caption": "Trim Right", + "Id": "TrimTrailing", + "Caption": "Trim Trailing", "Hint": "Removes Trailing Spaces", "Policy": "CompleteLines" }