| View previous topic :: View next topic |
| Author |
Message |
STN I post too much
Reputation: 43
Joined: 09 Nov 2005 Posts: 2676
|
Posted: Fri Jul 15, 2016 9:32 am Post subject: Feature request - Intellisense |
|
|
Can we get intellisense in CE autoassemble? If you don't know what i mean, in visual studio when you hover over variables, it will show the definition and its values. There's also auto-complete where you start typing something and VS starts suggesting possible functions etc.
I don't know how difficult it would be but it would be pretty awesome especially when you write huge scripts and a game updates and you have to go back to the script you wrote months ago wondering what the hell you wrote lol. That is just one of the scenario, it can come in handy in a lot of different ways.
_________________
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25831 Location: The netherlands
|
Posted: Fri Jul 15, 2016 7:27 pm Post subject: |
|
|
when debugging you can hover over variables and read the value , but without is impossible
lua doesn't use type definitions or declarations, so a parser will have to inspect how a value got assigned, and in function parameters it's even impossible
for this to work you have to add extra code to your script to define the type, and then never use that form for anything else.
e.g, then never do:
| Code: |
i="23"
i=number(i)
i=functionThatRetunsAForm(i)
|
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
|