-
Notifications
You must be signed in to change notification settings - Fork 36
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
Startup on random port, use .psc-ide-port
#68
Comments
I've been thinking about it for a while, and we are really missing that feature. For the moment I have an autocommand which changes the port number:
|
You can have local .vimrc in project directory with |
Yes, that's a good point. |
Oh, my, I'm an idiot. I have this working since December 2016 (on a fork at https://github.com/kika/psc-ide-vim) and I never submitted a PR. I'll merge the upstream and submit. |
Great, then it's battle tested :) |
I've merged my changes but can't get through testing phase yet. I'm seeing a strange bug, which seems to be not related to port selection. Sometimes (typically when I hit TAB to get the completion) vim rescans the imports and suddenly reformats all my import lists. I've made a few 2-line changes to my sources which caused 20+ line commits, because of the changed import lists (they just got rearranged, nothing changes semantically). Any ideas? |
That's not a bug, that's a feature of |
Hm, but I'm not adding anything, I just write some code. |
Other psc-ide plugins startup on a random port, and tag the port in a
.psc-ide-port
file. A global config means you can only have one instance running at a time.The text was updated successfully, but these errors were encountered: