You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(quick-start): update commands and add file path in output
- Added new commands: `/file-func`, `/structure`, `/dir`, `/database`, `/localSearch`, `/related`, `/open`, `/ripgrepSearch`.
- Updated `FileInsCommand.kt` to include file path in the output.
-`/shell`: run shell command or shell script, like `ls`, `pwd`, etc.
36
36
-`/browse`: browse web page, like `https://ide.unitmesh.cc`
37
37
-`/refactor`: refactor code, like `rename`, `delete`, `move` etc. (since @1.8.6) (Java only)
38
+
-`/file-func`: read the name of a file, support for: regex, example: `/file-func:regex(".*\.txt")`
39
+
-`/structure`: get the structure of a file with AST/PSI, example: `/structure:cc.unitmesh.devti.language.psi`
40
+
-`/dir`: list files and directories in a tree-like structure, example: `/dir:src`
41
+
-`/database`: read the content of a database, example: `/database:query\n```sql\nSELECT * FROM table\n````
42
+
-`/localSearch`: search text in the scope (current only support project) will return 5 line before and after, example: `/localSearch:project\n```\nselect * from blog\n````
43
+
-`/related`: get related code by AST (abstract syntax tree) for the current file, example: `/related:cc.unitmesh.devti.language.psi`
44
+
-`/open`: open a file in the editor, example: `/open:.github/dependabot.yml`
45
+
-`/ripgrepSearch`: search text in the project with ripgrep, example: `/ripgrepSearch:.*AutoDev.*`
0 commit comments