Cannot find unit

Issue #131 new
Former user created an issue

"Cannot find unit" errors

Omnipascal is searching only for .pas files in FPC directory. This result in "Cannot find unit" error if there arent any source files. On the other side - omnipascal searches for .pas files - this lead to list of source files, that arent units.

The best solution is change searching from .pas to .ppu files.

And add setting for whitch file type index in the workspace and each of search directories!

I love your extension but this thing it's really annoying.

Olso - one slightly related issue, that I want to say here - Omnipascal doesnt work (concretly symbols, definision, units, ...) properly in directories with spases and/or specials characters in the directory name.

Thank you very much for your work!

Zaop

(if you need more information - no problem :))

Comments (0)

  1. Log in to comment