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

Autocompletion is not working #28

Open
humam2104 opened this issue Jan 4, 2021 · 4 comments
Open

Autocompletion is not working #28

humam2104 opened this issue Jan 4, 2021 · 4 comments

Comments

@humam2104
Copy link

humam2104 commented Jan 4, 2021

No matter what I do it doesn't work!
And when I add your code into my settings it tells me there's an error or something and if I put a coma at the end it doesn't show the error, I'm talking about this:
{
"auto_complete_with_fields": true, //this allows auto-completion inside snippets.
"auto_complete_triggers": //this activates auto-completion on '.' and '('
[
{
"characters": ".(",
"selector": "source.unrealscript"
}
],
"auto_complete_delay": 0,
"auto_complete_commit_on_tab": true // I prefer 'tab' to 'enter'
}

@humam2104
Copy link
Author

Note: some files are working while others don't for an unknown reason (Using Sublime text 3) - Latest version

@Zinggi
Copy link
Owner

Zinggi commented Jan 6, 2021

Hi there 👋
Sorry if it isn't working for you. Unfortunately this project is ca. 7 years old and it's quite likely that stuff broke with newer Sublime versions. I myself haven't used UnrealScript nor Sublime in the last 7 years, so I no longer have the drive, knowledge and time to investigate any issues.
I remember that in the past the most common issue was that people forgot to follow this instruction:

UnrealScriptIDE will only work properly if you add the Src folder as a project.
To do so, goto 'Project' -> 'Add Folder To Project...' -> add the Src folder (/UDK/UDK-201*-**/Development/Src/)

So maybe double check if you did that. If it still doesn't work, then it's very like that "recent" changes to Sublime broke some of the code of this plugin.

@humam2104
Copy link
Author

Well, It doesn't much fixing I think. Because some of the files are working while others aren't! this is noticeable in the same folder.
I would appreciate you taking a look at it.
I'm modding KF2. that game still runs on uscript

@Zinggi
Copy link
Owner

Zinggi commented Jan 10, 2021

Just a guess, maybe those files have some uncommon or custom language constructs and the parser somehow fails with these files?
Are there any errors in the console that could give any hints? Do you notice any difference between working files and ones that fail?

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