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

Create project config option to specify base path #8

Closed
robrecord opened this issue Oct 20, 2017 · 9 comments
Closed

Create project config option to specify base path #8

robrecord opened this issue Oct 20, 2017 · 9 comments

Comments

@robrecord
Copy link

Due to the set up of my development environment, I can't change the PHP error log to be in the same directory as my base path.

Can you please allow for manual setting of a base path in the sublime project settings, so that my links can work?

@poucotm
Copy link
Owner

poucotm commented Oct 20, 2017 via email

@robrecord
Copy link
Author

Thanks, I didn't know this was a possibility.

Where does it save it to? Can I allow it to save this base path to my .sublime-project file?

@poucotm
Copy link
Owner

poucotm commented Dec 4, 2017

Hi,
The package has been updated (v1.8.3). Originally, when you select 'Log Highlight - Set as base ...' in the context menu, the path will be stored in the view settings. Now, it also will be stored in the .sublime-project file if a project file exists. When the package searches base, it will be the first candidate path.

@robrecord
Copy link
Author

Thank you, I really appreciate that you added this. It will make my workflow much easier when working on different machines or across multiple developers.

@poucotm
Copy link
Owner

poucotm commented Dec 4, 2017

Hmm, the stored path is absolute. I don't think it can be used across machnes ... You may need the relative path from the top project folder, don't you?

@poucotm poucotm closed this as completed Jan 19, 2018
@robrecord
Copy link
Author

Yes I would need the relative path from the top project folder - is that possible to achieve?

Otherwise I will have to keep changing the path when I switch, or keep two different .sublime-project files.

@poucotm poucotm reopened this Jan 29, 2018
@poucotm
Copy link
Owner

poucotm commented Jan 29, 2018

It may be possible to store relative path in project file and combine with project path. But I have to try in detail.

@poucotm
Copy link
Owner

poucotm commented Jan 30, 2018

I've changed to store the relative instead of absolute path. Would you try ?

@robrecord
Copy link
Author

robrecord commented Feb 17, 2018

Thank you @poucotm for doing this, I will try it today.

@poucotm poucotm closed this as completed Mar 15, 2018
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

No branches or pull requests

2 participants