Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • Lazarus Lazarus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2,108
    • Issues 2,108
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 9
    • Merge requests 9
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • FPC
  • LazarusLazarus
  • LazarusLazarus
  • Issues
  • #34413
Closed
Open
Issue created Oct 12, 2018 by FPC Admin account@fpc_adminOwner

IDE: Build modes path is not updated after creating new unit

Original Reporter info from Mantis: zeljko@holobit.net @zeljan1
  • Reporter name: Zeljan Rikalo

Description:

Using project with build modes (eg linux,win,linux64,debug etc).
Open unit from disk (some other directory than already in current build mode PATH).
Now add unit to the project.
Build modes ask if path of newly added unit should be added to other build modes. And that's correct.
Issue is visible when you create new unit (or form) from lazarus (so you're not loading already existing unit from some other directory).

Steps to reproduce:

1.Must have few build modes.
2.Create new unit (or form), save as, create new directory and save that unit into newly created directory. You will be asked if new directory should be added to the PATH, say yes and it will be added to the current build mode but not to the others. That's wrong. IDE should ask in which build modes it should be added, just like when we are loading existing unit from disk and directory of such unit isn't in PATH of current build mode.

Mantis conversion info:

  • Mantis ID: 34413
  • Version: 1.9 (SVN)
  • Fixed in revision: r59374 (#1313ae2b)
Assignee
Assign to
Time tracking