Comments (4)
I have similar code of my own. It seems possible to support such declarations in includes.
from i-pascal.
Alexey,
IDEA doesn't directly support including part of code from one file to another. So I haven't figured out yet a general solution for includes which will not hit performance.
Therefore it's likely that there will be some partial solution. For example, threat includes as some kind of "units". In that case the includes should have some reasonable syntax. E.g. balanced begin/end blocks, full declarations etc.
If you can provide some examples of your include files it will help to decide what restrictions is suitable.
Thanks for pointing out the problem with Paypal.
from i-pascal.
Thank you for the response. It's sad news.
In my case, it's something like
type
TClass1 = class;
...
TClass10 = class;
{$I Class1Header.inc}
...
{$I Class10Header.inc}
implementation
{$I Class1Body.inc}
...
{$I Class10Body.inc}
where Class1Header.inc is like:
TClass1 = class
public
...
end;
and Class1Body.inc is like:
procedure Class1.Proc1;
begin
end;
...
Unfortunately, there are a lot of cycle references between classes both in interface and implementation and it's not possible to do refactoring in the near future.
from i-pascal.
It sounds promising.
from i-pascal.
Related Issues (20)
- IntelliJ hangs when resolving merge conflicts in long pascal file HOT 2
- How can I work with vcl or lcl? HOT 2
- Dependencies setup HOT 4
- java.lang.NullPointerException upon startup of IDEA CE HOT 2
- Run/Debug plugin HOT 3
- IJ mac os debug problem HOT 1
- Undeclared identifier if number of arguments isn't match HOT 2
- Warning:Pascal builder link.res contains output sections; did you forget -T? HOT 1
- How to Import Delphi Project HOT 12
- Can't index when open project. HOT 6
- Unit scopes HOT 5
- ClassCastException HOT 4
- Undeclared identifier when identifier declared below usage HOT 1
- Type errors are not detected HOT 4
- [CRITICAL] Plugin breaks indexing on 2020.1 HOT 3
- Build instructions
- Form Designer HOT 3
- record helper incorrect detect syntax
- Goland 2022.1 not work
- Error when building or debugging HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from i-pascal.