comp.lang.ada
 help / color / mirror / Atom feed
* How to change .adb automatically when editing .ads?
@ 2017-09-27 22:04 Victor Porton
  2017-09-28  3:32 ` AdaMagica
  2017-09-28 16:49 ` Shark8
  0 siblings, 2 replies; 3+ messages in thread
From: Victor Porton @ 2017-09-27 22:04 UTC (permalink / raw)


In GNAT GPS IDE, I want to edit subprogram spec in .ads and get the .adb 
automatically changed too.

Is it possible? How?

-- 
Victor Porton - http://portonvictor.org


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to change .adb automatically when editing .ads?
  2017-09-27 22:04 How to change .adb automatically when editing .ads? Victor Porton
@ 2017-09-28  3:32 ` AdaMagica
  2017-09-28 16:49 ` Shark8
  1 sibling, 0 replies; 3+ messages in thread
From: AdaMagica @ 2017-09-28  3:32 UTC (permalink / raw)


Am Donnerstag, 28. September 2017 00:04:49 UTC+2 schrieb Victor Porton:
> In GNAT GPS IDE, I want to edit subprogram spec in .ads and get the .adb 
> automatically changed too.
> 
> Is it possible? How?

No, because of the possibility of overloading.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to change .adb automatically when editing .ads?
  2017-09-27 22:04 How to change .adb automatically when editing .ads? Victor Porton
  2017-09-28  3:32 ` AdaMagica
@ 2017-09-28 16:49 ` Shark8
  1 sibling, 0 replies; 3+ messages in thread
From: Shark8 @ 2017-09-28 16:49 UTC (permalink / raw)


On Wednesday, September 27, 2017 at 4:04:49 PM UTC-6, Victor Porton wrote:
> In GNAT GPS IDE, I want to edit subprogram spec in .ads and get the .adb 
> automatically changed too.
> 
> Is it possible? How?

In some cases the editor will detect the change when you compile/syntax-check and ask you which to use via its standard "messages" window,

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-09-28 16:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-27 22:04 How to change .adb automatically when editing .ads? Victor Porton
2017-09-28  3:32 ` AdaMagica
2017-09-28 16:49 ` Shark8

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox