OSGeo / grass

GRASS GIS - free and open-source geospatial processing engine
https://grass.osgeo.org
Other
823 stars 302 forks source link

[Feat] Update autocomplete GRASS GIS console #608

Open mattfack opened 4 years ago

mattfack commented 4 years ago

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!

veroandreo commented 4 years ago

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

mattfack commented 4 years ago

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

veroandreo commented 4 years ago

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

image

mattfack commented 4 years ago

Oh, well! I found it, thanks.

Unfortunately, it does not work.