Visual Studio Code is a new choice of tool that combines the simplicity of a code editor with what developers need for the core edit-build-debug cycle. See https://code.visualstudio.com/docs/setup/linux for installation instructions and FAQ.
constctime=isLinux?workspaceStat.ino:workspaceStat.birthtime.getTime();// On Linux, birthtime is ctime, so we cannot use it! We use the ino instead!
letctime:number;
if(isLinux){
ctime=workspaceStat.ino;// Linux: birthtime is ctime, so we cannot use it! We use the ino instead!
}elseif(isMacintosh){
ctime=workspaceStat.birthtime.getTime();// macOS: birthtime is fine to use as is
}elseif(isWindows){
if(typeofworkspaceStat.birthtimeMs==='number'){
ctime=Math.floor(workspaceStat.birthtimeMs);// Windows: fix precision issue in node.js 8.x to get 7.x results (see https://github.com/nodejs/node/issues/19897)