Recent

Author Topic: What do .lpi files contain?  (Read 8484 times)

vfclists

  • Hero Member
  • *****
  • Posts: 827
    • HowTos Considered Harmful?
What do .lpi files contain?
« on: May 01, 2010, 04:44:28 am »
What do the .lpi files contain?

Do they contain information about the state of IDE in order to simplify continuing from where you left off, or information need to build the project itself, like included paths etc?

It appears to change when files are moved around the IDE and it seems to be impacting source code management needlessly.

Windows - Lazarus 1.0.8/FPC 2.6.0
Linux - Lazarus 1.4.4 /FPC 2.6.4

Leledumbo

  • Hero Member
  • *****
  • Posts: 8244
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: What do .lpi files contain?
« Reply #1 on: May 01, 2010, 05:59:01 am »
Quote
What do the .lpi files contain?
It contains project and IDE state (also called session).
Quote
Do they contain information about the state of IDE in order to simplify continuing from where you left off, or information need to build the project itself, like included paths etc?
Both.
Quote
It appears to change when files are moved around the IDE and it seems to be impacting source code management needlessly.
Not really, you may want to keep what files are open in the editor, breakpoints, etc.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 6457
    • wiki
Re: What do .lpi files contain?
« Reply #2 on: May 01, 2010, 12:15:11 pm »
Do they contain information about the state of IDE in order to simplify continuing from where you left off, or information need to build the project itself, like included paths etc?

You can go to "project options" (Project menu); go to "session" page, and choose to split the info.

All the "session" (window and tabs open, folding, cursor pos, ....) can be stored in an *.lps file. (or even separate directory)

Helpful, if you have the lpi file in a revision control system.

vfclists

  • Hero Member
  • *****
  • Posts: 827
    • HowTos Considered Harmful?
Re: What do .lpi files contain?
« Reply #3 on: May 01, 2010, 05:53:17 pm »
Thanks, this is exactly what I am looking for


You can go to "project options" (Project menu); go to "session" page, and choose to split the info.

All the "session" (window and tabs open, folding, cursor pos, ....) can be stored in an *.lps file. (or even separate directory)

Helpful, if you have the lpi file in a revision control system.

Windows - Lazarus 1.0.8/FPC 2.6.0
Linux - Lazarus 1.4.4 /FPC 2.6.4

 

TinyPortal © 2005-2018