Giter Club home page Giter Club logo

Comments (4)

casteng avatar casteng commented on June 11, 2024 2

I have similar code of my own. It seems possible to support such declarations in includes.

from i-pascal.

casteng avatar casteng commented on June 11, 2024

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.

megahertz avatar megahertz commented on June 11, 2024

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.

megahertz avatar megahertz commented on June 11, 2024

It sounds promising.

from i-pascal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.