We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4085621 commit a6b2dbeCopy full SHA for a6b2dbe
dist/main/atom/onSaveHandler.js
@@ -27,6 +27,9 @@ function handle(event) {
27
if (fileDetails.project.buildOnSave) {
28
atom.commands.dispatch(atom.views.getView(event.editor), 'typescript:build');
29
}
30
+ if (true) {
31
+ atom.commands.dispatch(atom.views.getView(event.editor), 'typescript:format-code');
32
+ }
33
});
34
35
exports.handle = handle;
lib/main/atom/onSaveHandler.ts
@@ -53,5 +53,11 @@ export function handle(event: { filePath: string; editor: AtomCore.IEditor }) {
53
'typescript:build');
54
55
56
+ if(true){
57
+ atom.commands.dispatch(
58
+ atom.views.getView(event.editor),
59
+ 'typescript:format-code');
60
61
+
62
63
0 commit comments