Recent

Author Topic: Not autosaved  (Read 2226 times)

xamminf

  • Newbie
  • Posts: 2
Not autosaved
« on: May 04, 2018, 03:12:58 pm »
Hi,

Greetings from Spain.  :)

My name is Antonio Martínez

Is it possible in IDE:

1. Lines greater 256 characters
2. IDE without autosave on close.

Regards

Handoko

  • Hero Member
  • *****
  • Posts: 3902
  • My goal: build my own game engine using Lazarus
Re: Not autosaved
« Reply #1 on: May 04, 2018, 03:39:05 pm »
Hello xamminf,
Welcome to the forum.

Which IDE? Did you mean Free Pascal IDE?

I've just tested Lazarus IDE 1.8.0:
- It has no problem with 300+ characters per line
- It doesn't autosave, instead it shows a dialog to let you choose save, not or cancel

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8887
  • FPC developer.
Re: Not autosaved
« Reply #2 on: May 04, 2018, 04:33:21 pm »
1. no.
2. options->preferences -> auto save (3 tick marks).


ASerge

  • Hero Member
  • *****
  • Posts: 1692
Re: Not autosaved
« Reply #3 on: May 05, 2018, 06:47:19 am »
Confirm. Windows. fp.exe (FPC IDE). Maximum string length of 255 characters.
But why use FPC IDE if you have Lazarus?

xamminf

  • Newbie
  • Posts: 2
Re: Not autosaved
« Reply #4 on: May 06, 2018, 01:02:24 pm »
Hi,

Thank you very much for your suppor.

I use FPC because I like Turbo Vision's IDE style from FPC.

For me it is more confortable than RAD style.

Regards

anyone

  • Guest
Re: Not autosaved
« Reply #5 on: October 17, 2020, 01:59:53 pm »
I have ticked the three options in Auto-Save, but IDE does not auto-save when compile?

I would like to have this feature, just like in Visual Studio, it saves editor files when compiling.

lucamar

  • Hero Member
  • *****
  • Posts: 3179
Re: Not autosaved
« Reply #6 on: October 17, 2020, 02:30:24 pm »
I have ticked the three options in Auto-Save, but IDE does not auto-save when compile?

No, it only does so when a new file is unsaved and you click "Compile" (or Run, Build, etc.); then it asks you for a name, since otherwise it wouldn't know how to name the final executable or intermediate files (*.o, *.or, etc). It might try to "guess" it from the program/unit header but it doesn't at present.

Those three options are meant only for auto-saving (or not) when exiting the IDE.

Of course, you can always request  in the tracker the features you want ;)
« Last Edit: October 17, 2020, 02:33:29 pm by lucamar »
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.10/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

anyone

  • Guest
Re: Not autosaved
« Reply #7 on: October 17, 2020, 04:38:52 pm »
Thank you @lucamar, for your clarification.  :)

 

TinyPortal © 2005-2018