Forum

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1]
Author Topic: auto comeplete annoying me. TOPIC CLOSED
Taiphoz
Gorilla
Posts: 46
Permalink
Post auto comeplete annoying me.
on: June 30, 2012, 07:55

basically, if I type something like

field something:string<ENTER>

When I hit <ENTER>/<RETURN> it auto completes the word string into stringbuilder , should this not only happen if I hit tab to fill in the auto complete ?

It's happening with other keywords as well that start with similar words.

Ziggy
Administrator
Posts: 579
Permalink
Post Re: auto comeplete annoying me.
on: July 1, 2012, 22:30

No, Jungle Ide allows completion with most any separator character. Using TAB is not required nor recommended. If you do not want it to autocomplete, press ESC.

The "selection" of items on autolists is based on
1.- Case
2.- Length

So, if your stringbuilder class did follow the Monkey naming convention it would be StringBuilder, and when making "lazy" case coding, String (being shorter) would be selected first. This is done this way so it also works when you have to select "app" and "App" or things like this. There are lots of times when a local var has the same name as a class name (but lowercase), and a long list of cases that have been taken into account.

Taiphoz
Gorilla
Posts: 46
Permalink
Post Re: auto comeplete annoying me.
on: July 2, 2012, 09:28

stringbuilder is not mine not sure where it comes from to be honest, must be a module, possibly diddy ?

Ziggy
Administrator
Posts: 579
Permalink
Post Re: auto comeplete annoying me.
on: July 2, 2012, 09:45

shift+F2 over it and see where it comes from. I think it comes from diddy.

Ziggy
Administrator
Posts: 579
Permalink
Post Re: auto comeplete annoying me.
on: July 2, 2012, 09:46

shift+F2 over it and see where it comes from. I think it comes from diddy.

Taiphoz
Gorilla
Posts: 46
Permalink
Post Re: auto comeplete annoying me.
on: July 2, 2012, 18:59

Also this is really buggin me now.

I have a user class, so when I type something like user. as soon as I terminate with the . it replaces user with UserScr, I would much preffer it if tab selected the auto complete, which is what I use to do it normally when im not getting stupid conflicts.

Also I have noticed that if you have a large project, variables and functions are not being highlighted if they come before the source file in the main files include, at least thats what looks like is going on.

for example I have as I said a user class, bound to a global instance of it User, User is not getting highlighted at all where ever I use it, unless its in its own file, so in the syntax highlighting there seems to be a scope issue.

Ziggy
Administrator
Posts: 579
Permalink
Post Re: auto comeplete annoying me.
on: July 2, 2012, 19:19

can I have source sample replicating the global issue? Be sure to be using a project if you want cross-file intelliprompt

Taiphoz
Gorilla
Posts: 46
Permalink
Post Re: auto comeplete annoying me.
on: July 2, 2012, 19:43

I cant.. I tried a few times but I think it might be related to a large project and making a small sample might just not work.

What I have done is recorded a video of it, which I am uploading to youtube , once its done I will link it here, at least you will see what its doing and you might be able to figure it out and fix it.

Taiphoz
Gorilla
Posts: 46
Permalink
Post Re: auto comeplete annoying me.
on: July 2, 2012, 20:01

Ziggy
Administrator
Posts: 579
Permalink
Post Re: auto comeplete annoying me.
on: July 3, 2012, 17:04

In this video, wich imports are defined on the file "selectscr.monkey"? and wich files are importing it? It looks like a imports chain bug in the code, more than a Bug on Jungle. I wonder if this file is actually being compiled or imported in the game. Bear in mind that imports are not reciproque.

Ziggy
Administrator
Posts: 579
Permalink
Post Re: auto comeplete annoying me.
on: July 3, 2012, 17:06

I would love to see the improts structure of this solution files, that is, the files and folders structure and wich "import" sentences are in every file. Is it too complicated for you to send me this somehow? I'm almost sure there's a dependency issue, more than a bug on Jungle, but I would love to confirm it.
Also, what happens if you do "import reflection" in your project main file? Does it reveal any source code bugs?

Taiphoz
Gorilla
Posts: 46
Permalink
Post Re: auto comeplete annoying me.
on: July 3, 2012, 22:27

The Import structure is real simple, iTerm.monkey imports ALL files, and then each individual file imports iTerm.monkey.

Ziggy
Administrator
Posts: 579
Permalink
Post Re: auto comeplete annoying me.
on: July 4, 2012, 06:22

If it were only this, it would work the same everywhere. If it is not working the same everywhere, that means there's something different somewhere. Without a proper look at the sources or being able to get a solution replicating the issue, it's almost impossible for me to fix/find/arrange anything. I hope you understand.

EDIT. Are you 100% sure selectscr.monkey is importing iTerm.monkey (by the way, this iTerm should be lowercase).

Ziggy
Administrator
Posts: 579
Permalink
Post Re: auto comeplete annoying me.
on: July 24, 2012, 06:18

Its been fixed

Pages: [1]
Jungleide.com EULA