I have manually installed the ESP8266 boards library using GitHub inside the sketchbook folder (Documents\Arduino\hardware\esp8266com) and works fine.
I am selecting my board LOLIN(WEMOS) D1 mini Pro - ESP8266 Boards (3.2.0-dev) and
everything compiles and uploads fine.
However every time I open the .ino file I get a prompt at the lower right saying "The esp8266 [v 3.1.2] core has to be installed for the currently selected LOLIN(WEMOS) D1 mini Pro board. Do you want to install it now?
A bug maybe ?
IDE v2.1.1.
EDIT : The only way to remove this annoying message is to remove the additional board URL for ESP 8266 (https://arduino.esp8266.com/stable/package_esp8266com_index.json)