mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-08-05 13:03:56 -06:00
🔨 Fix IntelliSense / PIO conflicts (#23058)
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
This commit is contained in:
parent
399faa91b9
commit
4483b8aaf0
37 changed files with 1075 additions and 1041 deletions
|
@ -1,8 +1,8 @@
|
|||
#
|
||||
# buildroot/share/PlatformIO/scripts/pioutil.py
|
||||
# pioutil.py
|
||||
#
|
||||
|
||||
# Detect that 'vscode init' is running
|
||||
def is_vscode_init():
|
||||
# Make sure 'vscode init' is not the current command
|
||||
def is_pio_build():
|
||||
from SCons.Script import COMMAND_LINE_TARGETS
|
||||
return "idedata" in COMMAND_LINE_TARGETS or "_idedata" in COMMAND_LINE_TARGETS
|
||||
return "idedata" not in COMMAND_LINE_TARGETS and "_idedata" not in COMMAND_LINE_TARGETS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue