grass icon indicating copy to clipboard operation
grass copied to clipboard

[Feat] Update autocomplete GRASS GIS console

Open mattfack opened this issue 4 years ago • 4 comments

PROBLEM: I am writing a lot of commands in the GRASS GIS console and I get suggestions for auto-complete, i.e. for mapset and layer names.

Unfortunately, this works for layers and mapsets that are already in the location when I first start GRASS GIS. If I create a new layer or mapset it will never show in the auotcomplete suggestions until I restart GRASS GIS.

SOLUTION I'D LIKE: It would be great to have a command (smtg like g.refresh) to "refresh" the autocomplete list!

The only alternative at the moment is to close/reopen GRASS!

mattfack avatar May 11 '20 07:05 mattfack

Have you tried the Reload GRASS locations or Reload this mapset only buttons in the Data tab of the GUI? Those affect the data tree there, but maybe the console takes the names from there. Just guessing

veroandreo avatar May 11 '20 12:05 veroandreo

Thanks for the answer @veroandreo, but I cannot find the Data tab in the GUI...

mattfack avatar May 11 '20 13:05 mattfack

Which GRASS version are you using? The Data tab has been there already for a while. See below:

image

veroandreo avatar May 11 '20 13:05 veroandreo

Oh, well! I found it, thanks.

Unfortunately, it does not work.

mattfack avatar May 11 '20 13:05 mattfack