! Copyright (C) 2015 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: editors kernel make memoize namespaces system vocabs ;
+USING: editors kernel make math.parser memoize namespaces
+sequences system vocabs ;
IN: editors.visual-studio-code
SINGLETON: visual-studio-code
M: visual-studio-code editor-command ( file line -- command )
[
- visual-studio-code-invocation % drop ,
+ visual-studio-code-invocation % "-g" ,
+ number>string ":" glue ,
] { } make ;
os windows? [ "editors.visual-studio-code.windows" require ] when