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

Add "single file mode" #69

Closed
artempyanykh opened this issue Sep 2, 2022 · 2 comments · Fixed by #75
Closed

Add "single file mode" #69

artempyanykh opened this issue Sep 2, 2022 · 2 comments · Fixed by #75
Labels
enhancement New feature or request

Comments

@artempyanykh
Copy link
Owner

Currently, Marksman requires a project/root/folder to provide language features such as cross-file references, workspace symbols, and rename refactor that works across many files.

However, it would be convenient to provide a subset of language features in situations where there's no project/root/folder. Some features like "document symbols" will be the same as before in "single-file mode". Other will lose cross-file capabilities and will work only intra-file, e.g. goto def, references, renames, completion. But perhaps this is enough for one-off edits of random markdown files.

@artempyanykh
Copy link
Owner Author

/cc @jwortmann @jfcherng @rwols this is a continuation of #66 focused on "single file mode" support.

@jfcherng
Copy link

jfcherng commented Sep 9, 2022

Thank you @artempyanykh . It works. 👍

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

Successfully merging a pull request may close this issue.

2 participants