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

Autocomplete paths in quotes #5

Open
mikucionisaau opened this issue Nov 8, 2023 · 0 comments
Open

Autocomplete paths in quotes #5

mikucionisaau opened this issue Nov 8, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@mikucionisaau
Copy link
Member

mikucionisaau commented Nov 8, 2023

This feature requires some broader context awareness but would help users to write file-system paths as it is very cumbersome.

Currently there are the following rules requiring paths in quotes:

  • ExternDecl: T_IMPORT T_CHARARR (the T_CHARARR)
  • PropertyExpr: ... | T_SAVE_STRAT '(' Expression ',' Id ')' (the Expression part)
  • AssignablePropperty: ... | T_LOAD_STRAT Features '(' Expression ')' (the Expression part)
  • Expression: ... | T_CHARARR (in context of PropertyExpr and AssignableProperty)

ULS should suggest the folders and files that are readable (omit entries which result in access errors) and also suggest proper folder separator (either always stick to / or suggest \\ on Windows).

@mikucionisaau mikucionisaau added the enhancement New feature or request label Nov 8, 2023
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

1 participant