Show suggestions in a tooltip at the cursor location. Works for buffers and the Command bar. Hit TAB and enjoy!
To cycle through the suggestions using
CursorUpandCursorDown, you need to add the option"autocomplete_tooltip.EnableCursorUpDown"with any value other thanfalseornilto yoursettings.jsonfile.
To add a prefix to the current suggestion, use the option
autocomplete_tooltip.Prefixinsettings.json.
To improve readability, a custom syntax and colorscheme are provided until Micro allows customization of colorschemes per buffer.
You can add the following line at the end of your current colorscheme: include autocomplete-tooltip. I recommend using a custom colorscheme that includes both your main colorscheme and this one.
# custom-colorscheme.micro
include "YOUR_MAIN_COLORSCHEME"
include "autocomplete-tooltip"
include "gutter-message" # 👀
You can change the colors inside colorschemes/autocomplete-tooltip.micro.
package.path when requiring modules.
You can install this from the unofficial micro plugin channel by adding the following to your settings.json
"pluginchannels": [
"https://raw.githubusercontent.com/Neko-Box-Coder/unofficial-plugin-channel/main/channel.json"
]Then do micro -plugin install autocomplete_tooltip.
Alternatively, you can copy/clone this directly to your .config/micro/plug.
In Linux, you can copy/clone the repo anywhere and create a symlink inside .config/micro/plug using the ENABLE_FOR_MICRO.sh script.