unsplash-code-actions
Installation
We don't publish the extension onto the marketplace so you'll have to manually install the .vsix
file located at
the root of this project.
code --install-extension {file}.vsix
If this is an upgrade, you'll need to uninstall the previous version first
rm -rf ~/.vscode/extensions/unsplash.ts-refactor-tools-{version}
Contribute
- Build latest extension code by doing
yarn run compile
- Run
yarn link
from the root project - Run
yarn link "@unsplash/ts-refactor-tools"
from the _extension
folder. - Open a new VSCode directly from the
_extension
folder and press F5
which will compile the extension code as well
as embedding the plugin code. Next a new VSCode will open with the extension loaded, you can then test it there. - From now on, the plugin needs to be re-compiled when changes are made. The extension technically watches changes automatically.
- Don't forget to "Reload Window" in the extension host window to apply latest changes
Improvements