Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pfitzseb/julia-link-extension
https://github.com/pfitzseb/julia-link-extension
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/pfitzseb/julia-link-extension
- Owner: pfitzseb
- License: mit
- Created: 2023-06-06T07:30:25.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-26T10:32:35.000Z (about 1 year ago)
- Last Synced: 2024-10-19T17:57:30.708Z (2 months ago)
- Language: TypeScript
- Size: 83 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# julia-link-runner README
This is a PoC for adding a link handler to VS Code that can make arbitrary onclick callbacks into the process provided by the Julia extension.
Add this extension and run the following code in your Julia REPL:
```
julia> encode_id(x::Union{Int8, Int16, Int32}) = replace(bitstring(x), '1' => '\u200b', '0' => '\u2060')
encode_id (generic function with 1 method)julia> println("link", encode_id(Int16(12)))
```
`link` should now appear clickable and will print `link: 12` into the terminal.[Peek 2023-06-06 09-46.webm](https://github.com/pfitzseb/julia-link-extension/assets/6735977/aa4b7205-93c9-4ccb-9624-68abba12ec8e)
---
## Following extension guidelines
Ensure that you've read through the extensions guidelines and follow the best practices for creating your extension.
* [Extension Guidelines](https://code.visualstudio.com/api/references/extension-guidelines)
## Working with Markdown
You can author your README using Visual Studio Code. Here are some useful editor keyboard shortcuts:
* Split the editor (`Cmd+\` on macOS or `Ctrl+\` on Windows and Linux).
* Toggle preview (`Shift+Cmd+V` on macOS or `Shift+Ctrl+V` on Windows and Linux).
* Press `Ctrl+Space` (Windows, Linux, macOS) to see a list of Markdown snippets.## For more information
* [Visual Studio Code's Markdown Support](http://code.visualstudio.com/docs/languages/markdown)
* [Markdown Syntax Reference](https://help.github.com/articles/markdown-basics/)**Enjoy!**