Recent

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

vfclists

  • Hero Member
  • *****
  • Posts: 1013
    • 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.

Lazarus 3.0/FPC 3.2.2

Leledumbo

  • Hero Member
  • *****
  • Posts: 8747
  • 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: 9794
  • Debugger - SynEdit - and more
    • 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: 1013
    • 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.

Lazarus 3.0/FPC 3.2.2

 

TinyPortal © 2005-2018