Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: send stat #5

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open

feat: send stat #5

wants to merge 2 commits into from

Conversation

Draeken
Copy link

@Draeken Draeken commented Jan 10, 2019

No description provided.

src/api.ts Outdated Show resolved Hide resolved
src/endpoints.ts Outdated
@@ -1,4 +1,5 @@
export enum Endpoint {
SEND_FILE_CHANGE = 'send',
SEND_FILE_CHANGE = 'stat',
Copy link
Contributor

Choose a reason for hiding this comment

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

What's the point of having to endpoints in enum for the same value ?

@@ -17,6 +17,19 @@ export function checkFileChanges(context: ExtensionContext): void {
);
}
}
let lastLineNb: { [key: string]: number } = {};

export const handleTextDocument = (
Copy link
Contributor

Choose a reason for hiding this comment

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

Where are the tests ? :)

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

Successfully merging this pull request may close these issues.

2 participants