platformio-atom-ide icon indicating copy to clipboard operation
platformio-atom-ide copied to clipboard

Only load IDE if platformio.ini file is present

Open webrgp opened this issue 7 years ago • 13 comments

I wonder if there is a way to toggle the the full IDE only when platformio.ini file is present. I use atom for other projects, like webapps, and I find myself disabling/enabling the extension every time I switch.

Thanks!

webrgp avatar Mar 02 '17 16:03 webrgp

What do you like to disable? Toolbar ?

ivankravets avatar Mar 02 '17 16:03 ivankravets

I would like to not load the extension at all, unless platformio.ini is present @ the root of the project folder.

webrgp avatar Mar 03 '17 18:03 webrgp

We can create separate package aka platformio-ide-helper and disable/enable the main package automatically. Would you like to live with these lags?

I can't imagine how does awful it will work.

ivankravets avatar Mar 03 '17 18:03 ivankravets

Yes! That package can contain "Create New Platformio Project", that would create the project structure with the platformio.ino file in it. That would make atom much lighter.

Other settings for this separated package, and I am dreaming here now, would be disabling other packages that has nothing todo with Platformio (like SASS pre-processor for example).

webrgp avatar Mar 04 '17 21:03 webrgp

Ok, I'll have a look on this issue after 2.0 release. Thanks.

ivankravets avatar Mar 04 '17 21:03 ivankravets

If you need testing on this, let me know 👍

webrgp avatar Mar 04 '17 21:03 webrgp

Any updates on this? Getting tired of manually switching on/off the IDE

rsispal avatar Sep 01 '17 05:09 rsispal

Progress on this? Something like: ` File -> New window [Atom IDE]

File -> New window [Platform IDE] ` This would open up for more IDE variants, dedicated loading etc. More like opening Libre office and choosing between Writer or Calc.

Petfrogg avatar Jan 13 '18 10:01 Petfrogg

Bump because a configuration allowing for PlatformIO to be initialized/closed by a helper would be very helpful. Tired of having to toggle it off for unrelated projects.

nickdaria avatar Jul 16 '18 22:07 nickdaria

There are some technical issues to get this working. Nevertheless, we did this work for PlatformIO IDE for VSCode. Please try http://docs.platformio.org/en/latest/ide/vscode.html

ivankravets avatar Jul 17 '18 15:07 ivankravets

I think that you should implement it soon, because some people are annoyed by the overloaded IDE, this speaks against the main-thoughts of the "text-editor for the 21st century" clean but mighty

karlbeecken avatar Nov 29 '18 13:11 karlbeecken

Hello!

I'm a potential PlatformIO user, but after trying it once a year or 2 ago, I haven't installed it since because it does completely take over Atom. I use Atom to program in a diverse range of languages, and I'd really appreciate it if PlatformIO would just go away when I'm working on other projects.

In fact, I'd like it to be less 'in my face' in general. I hate the toolbar it adds, and I really don't like the terminal package it forces on me with the extra double-toolbar at the bottom of the screen.

I'm looking for quiet integration with my existing workflow - not something that decides how I'm going to work. If I wanted something that decides my workflow for me, I'd be using venerable Arduino IDE (which I'm unfortunately still having to use because I haven't found anything else that actually works :-/).

sbrl avatar May 26 '19 00:05 sbrl

Put this in. Idiots Bump.

JaccoVeldscholten avatar Dec 14 '20 10:12 JaccoVeldscholten