abingham / vsc-around Goto Github PK
View Code? Open in Web Editor NEWPut tokens around selected regions.
License: MIT License
Put tokens around selected regions.
License: MIT License
Right now we implicitly assume that the "around" tokens don't introduce new lines, but this isn't guaranteed. Our algorithm for updating the selection after insertion needs to be improved to handle this.
When no word is selected, it could be useful to select the current word by default.
Dear @abingham,
Please publish this extension to the Open VSX marketplace.
Unfortunately, as Microsoft prohibits usages of the Microsoft marketplace by any other products or redistribution of .vsix
files from it, in order to use VS Code extensions in non-Microsoft products, we kindly ask that you take ownership of the VS Code extension namespace in Open VSX and publish this extension on Open VSX.
Open VSX is a vendor neutral alternative to the MS marketplace used by most other derivatives of VS Code like VSCodium, Gitpod, OpenVSCode, Theia-based IDEs, and so on.
You can read on about Open VSX at the Eclipse Foundation's Open VSX FAQ.
The docs to publish an extension can be found here. This process is straightforward and shouldn't take too long. Essentially, you need an authentication token and to execute the ovsx publish
command to publish your extension. There's also a doc explaining the whole process with an example GitHub Action workflow.
Maybe out of scope for this extension, but this seems like the next step.
I'll try to contribute to the extension when i'll have some free time :)
When surrounding a block of text, the desired output is often to have the surround text on new lines.
Ex:
markdown
code
block
->
```
markdown
code
block
```
If we have a line with two items we want to surround:
item_1 item_2 -> "item_1" "item_2"
The selection on the first word will be kept, but not the other one on the second word (who should be pushed by 3).
The issue also appear when trying to surround a word by multiple char (ex: """)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.