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

Move PSES log to PSES folder #6

Merged
merged 2 commits into from
Apr 18, 2019

Conversation

corbob
Copy link
Member

@corbob corbob commented Apr 18, 2019

This moves the PSES log and session file to the PSES folder within the Plugin as opposed to containing it within the working directory that vim was launched from.

It might be worth adding the PID and/or date to the path like we do with vscode-powershell to keep the logs separate between editing sessions.

@yatli
Copy link
Member

yatli commented Apr 18, 2019

I think it depends on the use case. If you want to start multiple instances, the session files should be targeted at different paths.

Nevertheless, keeping them in the plugin directory is a good idea.

If User doesn't specify, use a directory that should be unique enough to not cause overlap of logs for users running multiple sessions
Copy link
Member

@yatli yatli left a comment

Choose a reason for hiding this comment

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

Looks great!

@yatli yatli merged commit 04f44d4 into coc-extensions:master Apr 18, 2019
@corbob corbob deleted the Centralize-PSES-Logs branch April 18, 2019 14:29
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