comp.lang.ada
 help / color / mirror / Atom feed
From: "Nasser M. Abbasi" <nma@12000.org>
Subject: basic questions on using GPS
Date: Sat, 18 Jul 2015 15:20:39 -0500
Date: 2015-07-18T15:20:39-05:00	[thread overview]
Message-ID: <moecel$ma0$1@speranza.aioe.org> (raw)

I never used GPS (much) before. I do not like project based IDE's
actually, as they make me feel trapped, but have no choice here.

I am little confused about something.  normally when not using
an IDE, and want to test something, by making small program,
I have a one folder where I keep my Ada test files,
and then use the editor and make a new foo_nnn.adb and
then compile it using gnatmake from command line.

Now with GPS, each time I want to try something, I open
GPS, then have to decide between these choices:

1. create new project from template
2. start with default project in directory ...
3. create new project with wizard
4. open existing project.

I select 1, then select basic project->simple project,
now I have to give a name to the project. name? ok, I have
to come up with yet another name, say default_nnn, and
hopefully this was not used before as I can't remember,
now I have to select folder to where to create the project
in, navigate to the folder, make new folder below it
so that this project do not see the other source files,
just for this one project, make yet another new folder
name, may be same as project name? and click apply.

This is all so much work for making one simple foo.adb
each time I want to try something.

using command line, I simply do
cd my_stuff
vi foo1.adb
gnatmake foo1.adb

and be done with it.

I must be missing some simpler way to deal with GPS.

All what I want is to be able to make a new main program
and compile it and run it, without having to go through
this process each time and having to make new
project and new folders for each small item.

Is there a way to avoid having to go through this
process each time? I could use the last project,
but I want to keep the earlier files and not modify
them.

thanks
--Nasser


             reply	other threads:[~2015-07-18 20:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-18 20:20 Nasser M. Abbasi [this message]
2015-07-18 21:57 ` basic questions on using GPS Jeffrey R. Carter
2015-07-18 22:26   ` Anh Vo
2015-07-19  2:42 ` Peter Chapin
2015-07-19  9:17 ` Stephen Leake
2015-07-20 17:13 ` Norman Worth
2015-07-21  2:10   ` Robert Love
2015-07-21  6:55     ` Simon Wright
replies disabled

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