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

Move the base CodeMirror KCL support to a local package #4876

Closed
wants to merge 13 commits into from

Conversation

mattmundell
Copy link
Contributor

What

Move the basics of the CodeMirror KCL support into packages/codemirror-lang-kcl.

The basics excludes the LSP additions and the color picker extension.

Why

Trying to make it easier for other projects to use the KCL support. The idea is that this eventually leads to a @kittycad/codemirror-lang-kcl on npmjs.

Also hoping this makes it easier for people to contribute. For example most CM lang packages have this cases.txt style test setup for verifying changes.

References

Closes #4868

Similar to /pull/2846 for codemirror-lsp-client.

Copy link

qa-wolf bot commented Dec 29, 2024

QA Wolf here! As you write new code it's important that your test coverage is keeping up.
Click here to request test coverage for this PR!

Copy link

vercel bot commented Dec 29, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
modeling-app ✅ Ready (Inspect) Visit Preview Jan 4, 2025 0:58am

@jtran
Copy link
Collaborator

jtran commented Jan 2, 2025

Because of #4124, PRs on forks can't currently pass CI. So I re-made your PR here: #4897.

This is to work around "fileTests" imported from Lezer. Future codespell versions look
like they'll allow the code to be annotated, which would be nicer.
@mattmundell
Copy link
Contributor Author

Thanks @jtran. I've added a62f27f to work around the codespell fail.

Is the other fail (kcl_test_example_shell6 in wasm-lib) perhaps just a CI load issue?

@jtran
Copy link
Collaborator

jtran commented Jan 4, 2025

Is the other fail (kcl_test_example_shell6 in wasm-lib) perhaps just a CI load issue?

I think so. It's running now, so we'll see.

@mattmundell mattmundell deleted the cm-lang-kcl branch January 4, 2025 19:32
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.

Move the CodeMirror KCL language support to a package
2 participants