Skip to content

Conversation

@ioedeveloper
Copy link
Collaborator

Fixes #967

})
}

getCurrentWorkspace () {
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe currentWorkspace() ? Just a suggestion


currentWorkspace () {
const file = this.currentFile() || ''
const provider = this.fileProviderOf(file)
Copy link
Contributor

Choose a reason for hiding this comment

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

Here you could just do
const provider = self._deps.filesProviders.workspace
because anyway, the localhost provider doesn't have the workspace property

Copy link
Collaborator

@ryestew ryestew left a comment

Choose a reason for hiding this comment

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

sorry I put that comment in the wrong PR (erased comment)

@yann300 yann300 requested review from ryestew and yann300 March 16, 2021 14:46
@ioedeveloper ioedeveloper merged commit 0245336 into master Mar 16, 2021
@ioedeveloper ioedeveloper deleted the blank-tabs branch March 16, 2021 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Blank name for files with the same name displayed in editor tabs.

5 participants