Thursday, February 2, 2023
Show HN: IDE Like Terminal https://ift.tt/wcKt8ZR
Show HN: IDE Like Terminal Terminal built with Tauri (Rust+Svelte). I got this idea of creating a terminal that is more user friendly having autocomplete suggestions. I couldn’t create a suggestions engine that would work for all commands. But I defined a structure (a state machine in src/cli/library/library.ts) that can be used to determine the next suggestions. The good part with this approach is that it is possible to have custom script based suggestions. For example if we write in the terminal “git checkout” and after we press Space, a dropdown will appear with all available branches. The bad part is that it will take some time to add more supported commands in this “library”. Another feature is that in the bottom bar of the terminal we can have custom script based information. In .manter.json we can define a script that will generate this information. The script will be executed each time the prompt appears. On the front-end are used web technologies which offer a flexibility to add any feature and style that we want. Repository: https://ift.tt/s4OewbK February 3, 2023 at 01:31AM
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment