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

Workspace folders API #2141

Merged
merged 1 commit into from
Jun 22, 2018
Merged

Workspace folders API #2141

merged 1 commit into from
Jun 22, 2018

Conversation

vitaliy-guliy
Copy link
Contributor

Plugin API to get information about workspace folder.

Signed-off-by: Vitaliy Gulyy vgulyy@redhat.com

*
* @readonly
*/
export let rootPath: string | undefined;
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 deprecated field in vscode workspace api, can you remove it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done


private folders: WorkspaceFolder[] | undefined;

constructor(rpc: RPCProtocol) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do you need rpc here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed. Thanks


// tslint:disable-next-line:no-unused-variable
// @ts-ignore
const workspaceMain = new WorkspaceMain(rpc, workspaceService);
Copy link
Contributor

Choose a reason for hiding this comment

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

do we need to declare the variable ? if not used

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed. Thanks.

Signed-off-by: Vitaliy Gulyy <vgulyy@redhat.com>
@vitaliy-guliy vitaliy-guliy merged commit 750ffc5 into master Jun 22, 2018
@vitaliy-guliy vitaliy-guliy deleted the workspace-folders-api branch June 22, 2018 12:02
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.

5 participants