Code Completion/Intellisense
Posted: Wed Apr 01, 2009 2:46 pm
I'd like to explore the possibility of getting intellisense working for a COBOL program or project. I think it would be helpful, but COBOL does not lend itself to this very well.
First question - I know that intellisense is triggered by a '.' or '->'. Is this configurable? Neither of this would be especially natural to a COBOL programmer. This isn't a big deal, but would be nice to know.
For COBOL, it seems like what might be useful is a way to autocomplete variables or procedure (paragraph) names. I'm considering using V. or P. to trigger this. What would I have to do with tags to get this to the point where I could try it out and see how well it flows for me? I can get the appropriate tags generated, but which ones and set up how?
Another question - does autocomplete work with templates at all?
What would really be cool is to be able to participate via a macro in the intellisense process. For instance, if I trigger a procedure name lookup with P., I'd like to be able to get rid of the P. after I select one, or, if I keep typing until there is no possible existing procedure name that matches, get a chance to go add such a procedure and then come back to the original point of entry. The latter, at least, seems like it might be generally useful, not just for COBOL. Is there any way to do this?
First question - I know that intellisense is triggered by a '.' or '->'. Is this configurable? Neither of this would be especially natural to a COBOL programmer. This isn't a big deal, but would be nice to know.
For COBOL, it seems like what might be useful is a way to autocomplete variables or procedure (paragraph) names. I'm considering using V. or P. to trigger this. What would I have to do with tags to get this to the point where I could try it out and see how well it flows for me? I can get the appropriate tags generated, but which ones and set up how?
Another question - does autocomplete work with templates at all?
What would really be cool is to be able to participate via a macro in the intellisense process. For instance, if I trigger a procedure name lookup with P., I'd like to be able to get rid of the P. after I select one, or, if I keep typing until there is no possible existing procedure name that matches, get a chance to go add such a procedure and then come back to the original point of entry. The latter, at least, seems like it might be generally useful, not just for COBOL. Is there any way to do this?