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

single test focus / IDE-mode #20

Open
unhammer opened this issue Dec 12, 2022 · 3 comments
Open

single test focus / IDE-mode #20

unhammer opened this issue Dec 12, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@unhammer
Copy link
Member

unhammer commented Dec 12, 2022

I use a script to recompile and re-run on save, looks like

Peek.12-12-2022.14-28.webm

but for Most People I think it'd be really nice to have something like that in regtest – regtest already kind of does this, you can change files and click re-run corpus and see the new output. But when working on transfer (in particular) I often like to zoom in on one sentence and see the full analysis tree as well as the generated output and final translation all in one go, every time I click save.

Regtest could have a 🔍 button on each input sentence, and on click you are shown a page for just that sentence, looking a bit like apertium-viewer, but preferably with a fairly big <div> for the -tree output :)

There could be a button to re-run tests for that sentence, but even more magical would be a "recompile-and-rerun-on-change" button (like dev/r does). If this is easiest to do with entr rather than an external python lib for inotify, IMO it'd be fine if that one feature depended on having entr installed.

@TinoDidriksen
Copy link
Member

So a combination of https://github.com/GrammarSoft/cg3ide and apertium-viewer. I may do that - beats having to add the same functionality into CG-3 IDE.

@TinoDidriksen TinoDidriksen added the enhancement New feature or request label Mar 15, 2023
@TinoDidriksen
Copy link
Member

TinoDidriksen commented Mar 16, 2023

GitHub and Gitlab's web IDEs are both based on VS Code. The other big web IDE - https://theia-ide.org/ - supports VS Code extensions. Looks like it would be smartest to extend VS Code to do all we want.

Le sigh, https://code.visualstudio.com/api/extension-capabilities/overview#restrictions - VS Code extensions cannot do what I want.

@TinoDidriksen
Copy link
Member

https://theia-ide.org/docs/extensions/ may be the solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants