Autocomplete marks an error when the path of the library is set in the projects options...
Original Reporter info from Mantis: adrianlmm
-
Reporter name: Adrián Avila
Original Reporter info from Mantis: adrianlmm
- Reporter name: Adrián Avila
Description:
Greetings.
I have in the folder "D:\projects\lazarus\collections\generics.collections\src" the generic.collections libraries and I added this path in the project options -> Compiler options -> Paths -> Libraries, then I add in the uses classes a library that is in that path, in this case "generics.collections", then I can compile the project w/o problems, but when I press ctrl+space to show the autocomplete items the IDE moves to the uses clauses to the part where it is the "generics.collections" unit and says it can't find it. The work around is to put all the libraries in the same folder od the project.
Steps to reproduce:
1 .- Go to proyect -> Project options -> Compiler options -> Paths ->
2 .- Add the path where the library you want to use is
3.- Add a unit that is in the path to the uses clauses
4.- Compile and see there are no problems
5.- After that try to ctrl+space to show the autocomplete items
6 .-The cursor will move to the uses clauses to the part you added the unit and mark it as an error (can't find the library)
Additional information:
Using Windows 10 pro
Mantis conversion info:
- Mantis ID: 36453
- Build: 62129
- Version: 2.0.6