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

VS Freezes when using Intellisense #1388

Open
TimothyShea opened this issue Nov 22, 2023 · 5 comments
Open

VS Freezes when using Intellisense #1388

TimothyShea opened this issue Nov 22, 2023 · 5 comments
Assignees

Comments

@TimothyShea
Copy link

This is happening in VS 2019 and VS 2022 using X# 2.17 and 2.18 and I have rebuilt the Intellisense Database.

If an undeclared variable is entered followed by : or . , VS is unresponsive and needs to be forced closed.

e.g.

local oJunk as OBJECT

oJunk := OBJECT{}

oJunk: // This works

oMoreJunk: // hangs VS

This seems to happen with files that are involved with window classes. Both Vulcan and Forms. Some files in the solution are fine.
Same result using X# and Vulcan libraries.

Desktop (please complete the following information):

  • OS: Windows 10

PS Not sure if this should entered as a bug.

@RobertvanderHulst
Copy link
Member

Tim,
What are the compiler options for your app, or can you share the XsProj file for the app here?

@RobertvanderHulst RobertvanderHulst self-assigned this Nov 30, 2023
@TimothyShea
Copy link
Author

TimothyShea commented Dec 1, 2023 via email

@cpyrgas
Copy link

cpyrgas commented Dec 1, 2023

Guys, I think it will be difficult to reproduce the problem just like that, since it only happens in some of Tim's prg files. Tim, can you please zip and send us the solution so we can reproduce and debug the problem? Or if it's sensitive code, maybe you can create a copy of the solution (make sure you have a backup just in case), delete from the new solution everything that's not needed to reproduce the problem and send only what remains, with the prg files that still cause the freeze.

@TimothyShea
Copy link
Author

Hi Chris and Robert,
The solution is pretty large and it might be frustrating unzipping a 1G zip file. And I suspect the problem is more me than you.
Let me play around with the solution and either:

  1. Fix it or
  2. make a nice little sample that hangs on command.

Will get back to you either way.

Thanks,
Tim

@TimothyShea
Copy link
Author

Hi Guys,

This problem was making code production impossible. However, if I go the Settings Completion for X# and set to None, all works okay.

Tim

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

3 participants