Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert VscodeHatRendered to use vscode.workspace.fs #2194

Merged
merged 8 commits into from
Jan 25, 2024

Conversation

bjaspan
Copy link
Contributor

@bjaspan bjaspan commented Jan 22, 2024

This is part of porting Cursorless to work in the web environment.

This is a re-roll of #2153 which I messed up with bad git-fu.

Checklist

Copy link
Member

@pokey pokey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, but @AndreasArvidsson maybe you'd like to test locally to make sure it doesn't break your custom hats? I don't use custom hats

@AndreasArvidsson
Copy link
Member

I assume @bjaspan has tested it already?

@bjaspan
Copy link
Contributor Author

bjaspan commented Jan 23, 2024

It works well enough for me in the web-based VSCode inside Google to load and display standard hats. I don't use custom hats, either, and they wouldn't work (yet) in the web environment since that part of the code still uses fs/promises instead of the vscode APIs.

@pokey
Copy link
Member

pokey commented Jan 23, 2024

I'll test locally just to ensure that normal hats don't break, but I won't test custom hats because that's not an officially supported feature. @AndreasArvidsson I guess you can file an issue if custom hats break

@pokey pokey added this pull request to the merge queue Jan 25, 2024
Merged via the queue into cursorless-dev:main with commit aa95401 Jan 25, 2024
14 checks passed
@bjaspan bjaspan deleted the fs-async-2 branch January 26, 2024 17:26
pokey pushed a commit that referenced this pull request Jan 31, 2024
This is part of porting Cursorless to work in the web environment.

This is a re-roll of
#2153 which I messed up
with bad git-fu.

## Checklist

- [ ] I have added
[tests](https://www.cursorless.org/docs/contributing/test-case-recorder/)
- [ ] I have updated the
[docs](https://github.com/cursorless-dev/cursorless/tree/main/docs) and
[cheatsheet](https://github.com/cursorless-dev/cursorless/tree/main/cursorless-talon/src/cheatsheet)
- [ ] I have not broken the cheatsheet

---------

Co-authored-by: Barry Jaspan <[email protected]>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: David Vo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants