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

Autocomplete in use statement #2

Closed
ghost opened this issue Sep 7, 2017 · 6 comments
Closed

Autocomplete in use statement #2

ghost opened this issue Sep 7, 2017 · 6 comments

Comments

@ghost
Copy link

ghost commented Sep 7, 2017

Hello,
after i have finished the indexing, when i write a use statement it does find the class in autocomplete but it doesn't bring the namespace with the class. So i have to find the namespace through the search index.

@addiks
Copy link
Owner

addiks commented Sep 11, 2017

Can you please provide an example of what you are trying to do? You should never have to write the use-statements yourself, because the plugin add's them automatically when you autocomplete the class-name in the code:

2017-09-11 gedit-auto-add-use-statement

Sorry for the late answer, i have missed this issue altogether. I am currently being swarmed with mails from github because i am following a few big projects.

@addiks
Copy link
Owner

addiks commented Sep 11, 2017

I also just realized that you have created this issue in the wrong project. I think you meants to create this issue in this project: https://github.com/addiks/gedit-phpide and not in the window-management plugin-project.

I think it's fine that we handle this issue here for now, but for future issues please create them in the correct project.

@ghost
Copy link
Author

ghost commented Sep 13, 2017

I was thinking that as i type the suggestion will come automatically, but i have to type Ctrl+Space for the PHP autocompletion to come. Is this how it supposed to work? or maybe there is a conflict with the word autocompletion plugin? Btw your plugin is really useful.

@addiks
Copy link
Owner

addiks commented Sep 13, 2017

This is as it is supposed to work. In other IDE's, the autocomplete popping up got frequently in my way so i made it here that you have to summon it when you actually need it.
Glad to hear that this plugin is useful to you, Thanks.

This issue seems to be a feature-request because it is currently not intended to provide auto-complete when the users writes the use-statements manually. As i see it there should (nearly) never be a need to write them manually when the computer can just automate that for you.
I am currently not seeing any urgency in this other than new users stumbling when trying to write the use-statements manually so i will probably not implement this (myself) for quite some time. Others however are welcomed to add this to the plugin.

If you're ok with this, i will close this issue and create a new one in the correct repository (in a few hours when i am back home).

@ghost
Copy link
Author

ghost commented Sep 13, 2017

Yes no problem, its better like this you can close it i have another request/issue but i will write it in the right project :)

@addiks
Copy link
Owner

addiks commented Sep 22, 2017

This issue is now replaced with addiks/gedit-phpide#5

@addiks addiks closed this as completed Sep 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant