-
Notifications
You must be signed in to change notification settings - Fork 5
added post issue and create gist enhancements #38
base: master
Are you sure you want to change the base?
Conversation
client/src/buttons.ts
Outdated
@@ -1,6 +1,15 @@ | |||
import { ExtensionContext } from 'vscode'; | |||
import * as vscode from 'vscode'; | |||
|
|||
const REACH_COMPILE_S:string = 'Reach Compile'; | |||
const REACH_COMPILE:string = 'reach.compile'; | |||
const REACH_RUN_S:string = 'Reach Run'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: can you separate all the type annotations with spaces? e.g. const REACH_RUN : string =
client/src/extension.ts
Outdated
const FILE_ASSOCIATIONS:string = 'files.associations'; | ||
const REACH_FILE_EXT:string = '*.rsh'; | ||
const JAVASCRIPT:string = 'javascript'; | ||
const SETTINGS_ROOT:string = `${rootFolder}${path.sep}.vscode/settings.json`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rename WORKSPACE_SETTINGS_PATH
client/src/extension.ts
Outdated
@@ -30,6 +30,13 @@ var terminal; | |||
const fs = require('fs'); | |||
const url = require('url'); | |||
|
|||
const FILE_ASSOCIATIONS:string = 'files.associations'; | |||
const REACH_FILE_EXT:string = '*.rsh'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is really more than an extension, but a wildcard selector. Maybe REACH_FILE_SELECTOR
is a more appropriate name
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just noticed a couple other things, then ready to merge
Implemented post issue and create gist enhancements and adding some stronger typing/cleanup.