quarto-dev / quarto

Quarto open-source scientific and technical publishing system
https://quarto.org
GNU Affero General Public License v3.0
307 stars 26 forks source link

VS Code VISX install instructions and how to pre-test features or releases #511

Open artmg opened 1 month ago

artmg commented 1 month ago

Hi, glad to see new code popping up in main, but I also get that this is a busy project with a lot of dev work bubbling under the surface. I was looking to find ways that non-devs could maybe help out in testing new releases, features and bugfixes before they make it to formal publication, in case that could support development effort.

1) the link in https://github.com/quarto-dev/quarto/tree/main/apps/vscode#installation to [install] directly from a [VISX extension file (#visx-install) is dead

2) are there any suggested ways that power users can bring a specific branch to their local VS code install to test the newer or fixed functionality before it has gone through your full formal release cycle?

Happy to know if there are indirect ways like this to contibute. Thanks

mcanouil commented 2 weeks ago

Did you look at the README?

artmg commented 2 weeks ago

Many thanks @mcanouil – I did not realise that the section called 'development' actually tells people how to test, although being such a short explanation, that might not be clear to non-devs.

I have extended to make the more comprehensive documentation below which I can add as a PR, but should I put it into ?

  1. the root README, or maybe into
  2. the apps/vscode/README and link from the root,
  3. or should I put it somewhere else?

Testing development builds

If you would like to support development effort, by helping out with testing new releases, features and bugfixes before they make it to formal publication, then you can use the following instructions. These were created for zsh on macOS, but if you substitute brew with choco install nvm or runtime or nvm-sh then you can easily get them working on Windows or Linux too.

brew install nvm
nvm install --lts
node -v

cd myRepos
git clone git@github.com:quarto-dev/quarto.git
cd quarto
# if you want a specific branch then
# git checkout branchname

# https://yarnpkg.com/getting-started/install
corepack enable
yarn

This should install yarn classic, e.g. v1.22.22. Do not worry if it give errors such as:

# do we need to uninstall the production extension?
# code --uninstall-extension quarto.quarto

code .
# in the VS code window that opens the folder click to Trust authors

yarn dev-vscode

carried out the build and ended with two messages:

Then in VS Code window:

Question to devs

Please advise which README I should PR these docs into