Skip to content
This repository has been archived by the owner on Nov 16, 2021. It is now read-only.

added post issue and create gist enhancements #38

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

KBryan
Copy link
Contributor

@KBryan KBryan commented Jun 25, 2021

Implemented post issue and create gist enhancements and adding some stronger typing/cleanup.

client/src/buttons.ts Outdated Show resolved Hide resolved
client/src/buttons.ts Outdated Show resolved Hide resolved
@@ -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';
Copy link
Contributor

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 =

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`;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rename WORKSPACE_SETTINGS_PATH

@@ -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';
Copy link
Contributor

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

Copy link
Contributor

@chrisnevers chrisnevers left a 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

client/src/extension.ts Outdated Show resolved Hide resolved
client/src/extension.ts Outdated Show resolved Hide resolved
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants