steve3d / arduino-vscode

Arduino IDE support for VSCode
23 stars 7 forks source link

When building "file name too long" #7

Closed guatedude2 closed 7 years ago

guatedude2 commented 7 years ago

When buliding too many times the sketch gets copied into the tmp folder. It's recommended to use something like .build which any . files get ignored at least in UNIX, I'm not sure in Windows.

============== Begin to compile. ==============
open /Users/guatedude/Documents/Arduino/iLifeController/tmp/iLifeController/sketch/tmp/iLifeController/sketch/tmp/iLifeController/sketch/tmp/iLifeController/sketch/tmp/iLifeController/sketch/tmp/iLifeController/sketch/tmp/iLifeController/sketch/tmp/iLifeController/sketch/tmp/iLifeController/sketch/tmp/iLifeController/sketch/tmp/iLifeController/sketch/tmp/iLifeController/sketch/tmp/iLifeController/sketch/tmp/iLifeController/sketch/tmp/iLifeController/sketch/tmp/iLifeController/sketch/tmp/iLifeController/sketch/tmp/iLifeController/sketch/tmp/iLifeController/sketch/tmp/iLifeController/sketch/tmp/iLifeController/sketch/tmp/iLifeController/sketch/tmp/iLifeController/sketch/tmp/iLifeController/sketch/tmp/iLifeController/sketch/tmp/iLifeController/sketch/tmp/iLifeController/sketch/tmp/iLifeController/sketch/tmp/iLifeController/sketch/tmp/iLifeController/sketch/tmp/iLifeController/sketch/tmp/iLifeController/sketch/tmp/iLifeController/sketch/tmp/iLifeController/sketch/tmp/iLifeController/preproc/ctags_target_for_gcc_minus_e.cpp: file name too long
guatedude2 commented 7 years ago

This PR should fix the problem: https://github.com/steve3d/arduino-vscode/pull/8. I can put it in the config too, so people can override it, if you want me to add it that way

steve3d commented 7 years ago

merged, thanks

russellblog commented 7 years ago

Hi, for problems concerning path too long issues, I suggest you to try the new long path tool. This can help you with all kinds of path too long cases,