Skip to content

Commit c9aecc2

Browse files
Metalscreamex1unix
andauthored
Enhancment of import section (#14)
* Changed import section * added one more new line symbol * added tab * Update web/src/editor/props.ts Co-Authored-By: Denis Sedchenko <[email protected]> Co-authored-by: Denis Sedchenko <[email protected]>
1 parent 4a5fe85 commit c9aecc2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

web/src/editor/props.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ export const LANGUAGE_GOLANG = 'go';
55

66
export const DEMO_CODE = [
77
'package main\n',
8-
'import "fmt"\n',
8+
'import (',
9+
'\t"fmt"',
10+
')',
911
'func main() {',
1012
'\tfmt.Println("Hello World")',
1113
'}\n'
@@ -34,4 +36,4 @@ export const stateToOptions = (state: MonacoSettings): monaco.editor.IEditorOpti
3436
minimap: {enabled: state.minimap},
3537
contextmenu: contextMenu,
3638
};
37-
};
39+
};

0 commit comments

Comments
 (0)