mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-07-23 06:33:54 -06:00
🔨 Update 'pio vscode init' detection
This commit is contained in:
parent
3a77894efd
commit
c91451d215
4 changed files with 30 additions and 13 deletions
8
buildroot/share/PlatformIO/scripts/pioutil.py
Normal file
8
buildroot/share/PlatformIO/scripts/pioutil.py
Normal file
|
@ -0,0 +1,8 @@
|
|||
#
|
||||
# buildroot/share/PlatformIO/scripts/pioutil.py
|
||||
#
|
||||
|
||||
# Detect that 'vscode init' is running
|
||||
def is_vscode_init():
|
||||
from SCons.Script import COMMAND_LINE_TARGETS
|
||||
return "idedata" in COMMAND_LINE_TARGETS or "_idedata" in COMMAND_LINE_TARGETS
|
Loading…
Add table
Add a link
Reference in a new issue