platformio-atom-ide
platformio-atom-ide copied to clipboard
Atom: "Try PlatformIO IDE for VSCode" wont stop popping up
Hi, I am using Atom with the PlatformIO IDE installed and even after clicking “Do not show this message”, or "Remind me Later", the “Try PlatformIO IDE for VSCode” pops up every time I open Atom:
How do I disable this window and prevent it from popping up every time I open Atom?
This is the version of Atom I am using:
I also have this problem. It is very annoying
having this too @ osx 1.53.0
Same here! Sooo annoying!
I fixed it on my computer using a really half-assed approach. File -> settings -> packages find platformio-ide in the list and click settings click View Code on the left panel platformio-ide -> lib -> maintenance.js
find the line "export function notifyExtensionIsDeprecated() {" which should be somewhere around line #82. write "return;" right under this line and save the file. No more annoying popup.
The actual problem is related to the local storage variable "platformio-ide:extension-deprecated" not being set properly. Hence the line "if (localStorage.getItem('platformio-ide:extension-deprecated') === '1') { return; }" always evaluates to false. I don't know the proper way to fix it, but I fixed my problem with it.
return;
is already there on mine unfortunately...
this is what i see before any edits:
export function notifyExtensionIsDeprecated() { if (localStorage.getItem('platformio-ide:extension-deprecated') === '1') { return; }
change that to:
export function notifyExtensionIsDeprecated() { return; if (localStorage.getItem('platformio-ide:extension-deprecated') === '1') { return; }
the idea is you are just writing return before the if statement so it skips the whole thing
Ahhh yep - thank you! I was toggling back and forth between the browser and Atom and now I see. Thanks for the additional clarification
np, glad it helped :-)
Thanks Bro :-)
Esa funcion no afecta al programa. Yo la he comentado con ---- > /** y **/ . Hay que poner antes de la variable y al final donde termina la funcion para dejarla sin uso. 238 / 5000 Resultados de traducción This function does not affect the program. I have commented it with ----> / ** and ** /. You have to put before the variable and at the end where the function ends to leave it unused. It works perfectly.
/ ** export function ...... ... } ** /
238 / 5000 Resultados de traducción This function does not affect the program. I have commented it with ----> / ** and ** /. You have to put before the variable and at the end where the function ends to leave it unused. It works perfectly.
/ ** export function ...... ... } ** /
@Fxuko I am not sure I understand what you are saying. Are you suggesting the whole notifyExtensionIsDeprecated function should be commented out? The function is still being called. If it is commented out without removing all function calls there will be an error. It is possible you won't even see the error, but it still exists. This is not a good thing to do.
That function is called at the beginning of the program only. So far it has not given me problems.