After migrating my project to Compiler 6, I noticed that 'Go To Definition' option in right-click menu is grayed out (actually, all neighbouring options are also grayed out - Go To Declaration, Go To Next Reference etc).
Text completion also doesn't work at all, ctrl+space just inserts space. There is an error in the status bar - "Module Error! Text completion deactivated". I'm not sure what to do with that.
All checkboxes about browse information and outputs are checked; there is no space in the 'Misc. controls'; no non-latin symbols in project path (not sure about system PATH though).
In a (very) quick test, I cannot reproduce this. Are you able to access this functionality by F12?
I suspect the Module Error is the cause of the problem. Which version of the tools are you using?
This issue got fixed meanwhile, but the fix will be published with MDK 5.34 these days.
For now just follow:
Sorry, I meant that when I wrote 'there is no space in Misc. controls' that there is no blank there.So this doesn't help.
No, F12 doesn't work as well. I'm using:
IDE-Version:µVision V220.127.116.11Copyright (C) 2020 ARM Ltd and ARM Germany GmbH. All rights reserved.Tool Version Numbers:Toolchain: MDK-ARM Plus Version: 18.104.22.168Toolchain Path: E:\Keil_v5.33\ARM\ARMCLANG\BinC Compiler: ArmClang.exe V6.15Assembler: Armasm.exe V6.15Linker/Locator: ArmLink.exe V6.15Library Manager: ArmAr.exe V6.15Hex Converter: FromElf.exe V6.15CPU DLL: SARMCM3.DLL V22.214.171.124Dialog DLL: TCM.DLL V126.96.36.199Target DLL: CMSIS_AGDI.dll V188.8.131.52Dialog DLL: TCM.DLL V184.108.40.206
Do you see this with any project? Or is it just your specific one?
I see this in several projects.
Discussing this issue in our Team, based on the information provided, at the moment we can't identify a root cause.
Also, this issue is not reported by any different user for now.
Can you please:
- re-install MDK 5.33 to C:\Keil_V5
If the problem persists:
- open a Support Ticket: https://www.arm.com/support/contact-support
- and confirm the target in use
- also, confirm the versions in use of: MDK, AC6, DFP
Unfortunately, reinstalling also didn't help. I will open a support ticket, thanks!
I suppose I should mention is here as well. I opened a ticket and, while composing a minimal example, I found out the reason for this - using `@filename` options in Options->Misc. controls, so compiler options would be read from that `filename`.
This is the answer that I got from support:
As mentioned before, although @file is a valid command line option for armclang, as you found in the user manual of armclang compiler, it is not supported by the compiler running in the background of uVision for the text completion and browse info etc. The compiler running in the backgroupd of uVision for the text completion and browse info etc. is a different compiler other than armclang. Unfortunately this is a shortcoming of the compiler running in the background of uVision that not all of the armclang standard compiler options are supported by it. Thus, if you use @file in the "Misc Control", you can build your project without issue. But the module for text completion and browse info will be deactivated. Unfortunately our development team cannot resolve this issue due to the limitation of the compiler running in the background. Best Regards, Chen Tang Staff Application Engineer ARM Germany GmbH
If I understand it correctly "this is a bug and it cannot be fixed" :/ Ok, fair enough, but at least documentation about @file should mention this limitation, shouldn't it?
View all questions in Arm Compilers forum