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: support out of the project files #160

Merged
merged 10 commits into from
Jun 13, 2021
Merged

Conversation

aminya
Copy link
Member

@aminya aminya commented Jun 10, 2021

@aminya aminya added the enhancement New feature or request label Jun 10, 2021
@aminya aminya changed the title feat: allow overriding determineProjectPath feat: support out of the project files Jun 10, 2021
@UziTech
Copy link
Member

UziTech commented Jun 10, 2021

We should add tests before this is merged.

@aminya
Copy link
Member Author

aminya commented Jun 11, 2021

Ready to go

test/auto-languageclient.test.ts Outdated Show resolved Hide resolved
expect(projectPath).toBeNull()
})
it("returns the project path when a file of that project is open", async () => {
// macos has issues with handling too much resources
Copy link
Member

Choose a reason for hiding this comment

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

is this just an issue on GitHub actions or would this crash Atom if run on a Mac?

Copy link
Member Author

Choose a reason for hiding this comment

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

Because the number of tests is high, MacOS can't run all of them. It works fine if each of the tests runs in a single process. There is nothing OS-specific in the code, so this is a limitation of the operating system.

@aminya aminya force-pushed the configuring-project-path branch 2 times, most recently from 724f538 to 42d2f3a Compare June 11, 2021 21:43
@aminya aminya merged commit 69c6d3a into master Jun 13, 2021
@aminya aminya deleted the configuring-project-path branch June 13, 2021 07:18
@github-actions
Copy link

🎉 This PR is included in version 1.11.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants