Command Console code completion after scope / form renaming

I recognised that the code completion in the “Command Console” does not work anymore for renamed “Scopes” and “Forms”. (Servoy Developer Version: 7.2.0 - build 2013)

[attachment=0]2013-09-05 13_26_41-Servoy_developer_command_console_code_completion_bug.png[/attachment]

Command Console tries to do the completion in the main Active solution globals.js file.
My guess is in your case it can’t find that main globals.js file so it maps on one of the modules and then you only get completion of the module one (i guess you have a module that has only 1 form starting with a b)

Do you have a globals.js file in your main active solution?

jcompagner:
Command Console tries to do the completion in the main Active solution globals.js file.

Why is it neccessary to have a “main Active solution globals.js file” to get code completion?

jcompagner:
My guess is in your case it can’t find that main globals.js file so it maps on one of the modules and then you only get completion of the module one…

If I need a globals js file to get code completion for all solutions / modules, I think it would be great that the Servoy Developer could be give a hint for that.

jcompagner:
… (i guess you have a module that has only 1 form starting with a b)

No, I have more than one form starting with a “b”.

jcompagner:
Do you have a globals.js file in your main active solution?

No, I deleted the file, because the file was empty after moving the code to a scope with an other name. I created a new globals scope and now the code completion works.

Thanks.

its quite simple, the command console code completion must have some starting point to be able to do code completion.
The globals file in the main solution is really the only place where it can start in to have the right global code completion, if you don’t have that file then yes it will try to map on something else and that doesn’t have to be the full set.

“No, I have more than one form starting with a “b”.”

So in all the modules that you have you have in all of them more forms starting with a “b” ???
I think you have at least 1 module that only has 1 form starting with a b (i am not talking here over all the form that you have but only a single module!)

We create by default that file, so yes there is a side effect for this when you delete that file (but then really only this command console thing)