Giter Club home page Giter Club logo

Comments (5)

casteng avatar casteng commented on June 11, 2024

The "Unit namespaces" setting in SDK settings is exactly the feature you are talking about. It's not included in autotests yet but I just tested manually and it seems to work.
What version of Delphi and for what architecture you are using?
What RTL directories did you set in Delphi SDK? One with sources or with .dcu?

from i-pascal.

Sorien avatar Sorien commented on June 11, 2024

ok I didn't have all required directories included

I have in unit namespaces Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;System;Xml;Data;Datasnap;Web;Soap;Winapi;System.Win

image

but still not all of them are working, it looks like the order is important

e.g.

uses
  Windows, Messages, Generics.Defaults, DB;

when I use Winapi;Data;System; Generics.Defaults can't be found
when I change it to Winapi;System;Data; Generics.Defaults & DB can't be found

from i-pascal.

casteng avatar casteng commented on June 11, 2024

Fixed in v2.50

from i-pascal.

Sorien avatar Sorien commented on June 11, 2024

it's better but still not ok

unit Test;

interface

uses
  Windows, Messages, Classes, SysUtils, Graphics, Controls, StdCtrls, Forms, U_ParentEdit, DBCtrls, DB, Mask, Buttons,
  JvComponentBase, JvComCtrls, JvExMask, JvDBControls, TB2Item, PrnDbgeh, DPControls, DPDBEdits, DPEdits,
  JvToolEdit, ExtCtrls;

image

unit Windows (WinApi.Windows) is in C:\Program Files (x86)\Embarcadero\Studio\20.0\source\rtl\win

image

unit namespaces
Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;System;Xml;Data;Datasnap;Web;Soap;Winapi;WinAPI.Foundation;System.Win;FMX

from i-pascal.

fireundubh avatar fireundubh commented on June 11, 2024

when I try System;Vcl or System,Vcl it seems to not be working

It was working for me in 2.10 but no longer in 2.50.

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.