Forum Discussion

batruong's avatar
batruong
Frequent Visitor
26 days ago

[Code suggestion]

Hi guys!

Does have any setting for code suggestion at testcomplete when we are coding for?

Thanks!

3 Replies

  • scot1967's avatar
    scot1967
    Icon for Champion Level 3 rankChampion Level 3

    Hi batruong,

    I think I understand what you are asking.  TC has 'intelligence' similar to Visual Studio, VS Code etc...  It does not have any sort of AI that will assist with coding however.  There is AI for object recognition however.

    Code Completion:
    https://support.smartbear.com/testcomplete/docs/scripting/code-editor/code-completion.html

    ... If you find my posts helpful drop me a like! 👍 Be sure to mark or post the solution to help others out and/or to credit the one who helped you. 😎

     

     

  • rraghvani's avatar
    rraghvani
    Icon for Champion Level 3 rankChampion Level 3

    I don't understand your questions. Could you provide more details please?

  • Hassan_Ballan's avatar
    Hassan_Ballan
    Icon for Champion Level 3 rankChampion Level 3

    Good question — TestComplete does have features that help with “code suggestions”. You can fine-tune or extend them here:

    • Editor Settings: Adjust indentation, syntax highlighting, and code-assist behavior → Editing Options
    • Code Completion: Works like IntelliSense — suggests objects, methods, and properties as you type (or press Ctrl+Space to trigger manually) → Code Completion
    • Code Templates: TestComplete includes a few default templates (e.g., for, if, try, etc.) and also lets you create your own snippets for faster scripting → Code Templates

    These features are language-aware, so behavior may vary depending on whether you’re using JavaScript, Python, or another supported language.

    🤖 AI-assisted response
    👍 Found it helpful? Click Like
    ✅ Issue resolved? Click Mark as Solution