{"id":14956575,"url":"https://github.com/mongodb/snooty-vscode","last_synced_at":"2025-11-11T21:14:37.125Z","repository":{"id":42211004,"uuid":"169601732","full_name":"mongodb/snooty-vscode","owner":"mongodb","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-17T14:55:30.000Z","size":376,"stargazers_count":17,"open_issues_count":19,"forks_count":15,"subscribers_count":24,"default_branch":"main","last_synced_at":"2025-01-29T09:43:36.853Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mongodb.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-07T16:20:41.000Z","updated_at":"2024-08-28T03:46:41.000Z","dependencies_parsed_at":"2023-02-09T13:46:50.692Z","dependency_job_id":"c1af7c70-665b-474d-965a-e8a5af754916","html_url":"https://github.com/mongodb/snooty-vscode","commit_stats":null,"previous_names":[],"tags_count":31,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb%2Fsnooty-vscode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb%2Fsnooty-vscode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb%2Fsnooty-vscode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb%2Fsnooty-vscode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mongodb","download_url":"https://codeload.github.com/mongodb/snooty-vscode/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237088440,"owners_count":19253565,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-24T13:13:09.678Z","updated_at":"2025-10-19T07:31:11.756Z","avatar_url":"https://github.com/mongodb.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LSP Example\n\nHeavily documented sample code for https://code.visualstudio.com/api/language-extensions/language-server-extension-guide\n\n## Functionality\n\nThis Language Server works for plain text file. It has the following language features:\n\n- Completions\n- Diagnostics regenerated on each file change or configuration change\n\nIt also includes an End-to-End test.\n\n## Structure\n\n```\n.\n├── client // Language Client\n│   ├── src\n│   │   ├── test // End to End tests for Language Client / Server\n│   │   └── extension.ts // Language Client entry point\n└── package.json // The extension manifest.\n```\n\n## Running the Extension Locally\n\nPress `F5` to run the extension locally. This should open up an Extension Development Host instance of VS Code. Open any docs repo that has a `snooty.toml` file (and pull any remote assets using `make` if it hasn't been done so already).\n\n\n## Testing the Packaging Process\n\nTo test out a local build of the Snooty VSCode Extension, you first need to run `npm install -g @vscode/vsce` to install the `vsce` package globally. Then, follow the instructions in [`HACKING.md`](https://github.com/mongodb/snooty-vscode/blob/main/HACKING.md#setting-up-parser-communication) to allow the extension to communicate with the parser locally.\n\nRun the command `vsce package` at the root of this directory to compile the project. Once successfully compiled, open a Docs Content repo (e.g. `cloud-docs`, `docs-landing`) in a VSCode window and navigate to the `Extensions` panel from the lefthand `Extensions` sidebar button. Click the button at the top of the panel with the ellipses (...) and select `Install from VSIX`. Choose the newly compiled file from your local `snooty-vscode` repo named in the format of `snooty-\u003cversion\u003e.vsix`. This should enable your local branch as the extension utilized on your local machine's VSCode.\n\n## Releasing\n\n1. Create a personal access token, if you do not already have one: https://code.visualstudio.com/api/working-with-extensions/publishing-extension#get-a-personal-access-token\n2. Ensure that you have a clean working directory with `git clean -xfd`.\n3. Install dependencies with `npm install`.\n4. Bump to the new version with `npm version \u003cnewversion\u003e`.\n5. Generate a bundle with `vsce package`, and [test it in your vscode installation](#how-to-run-locally-in-development).\n6. Once you are satisfied, run `vsce publish` and enter the personal access token you created in step 1 when prompted.\n7. Push up your work with `git push origin main \u0026\u0026 git push --tags origin`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmongodb%2Fsnooty-vscode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmongodb%2Fsnooty-vscode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmongodb%2Fsnooty-vscode/lists"}