Ooops
September 18, 2021, 06:25:18

Author Topic: Atom editor  (Read 1406 times)

Offline round157

  • Sr. Member
  • ****
  • Posts: 469
Atom editor
« on: August 17, 2021, 23:58:01 »
They are talking about the editor:

https://www.syntaxbomb.com/appgamekit-agk/atom-editor/msg347051913/#msg347051913

The editor looks very nice.  How can sbasic.exe(console version) be used in the Atom editor? Thanks. (Is it possible? How to set?)

(No editor is for sbasic.exe in the current version of SmallBASIC.)

Offline round157

  • Sr. Member
  • ****
  • Posts: 469
Re: Atom editor
« Reply #1 on: August 18, 2021, 00:09:03 »

Offline Aurel

  • Sr. Member
  • ****
  • Posts: 349
Re: Atom editor
« Reply #2 on: August 18, 2021, 19:19:51 »
In general i don't like to use one editor for few languages
that simply sucks but according to your experience we need to try.
Editor don't make language better? or maybe ..
(Y)

Offline round157

  • Sr. Member
  • ****
  • Posts: 469
Re: Atom editor
« Reply #3 on: August 18, 2021, 23:56:01 »
In general i don't like to use one editor for few languages
that simply sucks but according to your experience we need to try.
Editor don't make language better? or maybe ..

The Atom editor may not be good? Okay.

Offline Aurel

  • Sr. Member
  • ****
  • Posts: 349
Re: Atom editor
« Reply #4 on: August 19, 2021, 06:07:55 »
may not be good ...may be but that is just promotion of someone else work
editor for 100 lang-s i like a ..hoki on de loki

Chalenge:
Made code editor in Small basic for SmallBasic !!!!!!
« Last Edit: August 19, 2021, 06:09:30 by Aurel »
(Y)

Offline bplus

  • Full Member
  • ***
  • Posts: 221
Re: Atom editor
« Reply #5 on: August 20, 2021, 19:14:51 »
In general i don't like to use one editor for few languages
that simply sucks but according to your experience we need to try.
Editor don't make language better? or maybe ..

The Atom editor may not be good? Okay.

I remember Chris recommending to me the Atom editor years ago.

Offline Aurel

  • Sr. Member
  • ****
  • Posts: 349
Re: Atom editor
« Reply #6 on: August 21, 2021, 08:33:49 »
atom ,atom ...atomic

wait
is it even possible to make
code editor in Small basic for SmallBasic
...oups ...there is no .exe builder
(Y)

Offline jsalai

  • Jr. Member
  • **
  • Posts: 41
Re: Atom editor
« Reply #7 on: August 21, 2021, 11:33:41 »
atom ,atom ...atomic

wait
is it even possible to make
code editor in Small basic for SmallBasic
...oups ...there is no .exe builder

No need an .exe for that!
the initial menu, file list, file viewer, file manipulator is written in sb (I know it bcs I participate with a minor change)!
so could be an complete editor too! The "interpreter" (which actually compile) is fast enough!

just needed a kind soul to do that  :)
I'm too old (ignore that Jr Member attribute), and hate any colorations - a rellict from assem. cobol etc times....

and atom, geany, and of course, yours abandoned, are ready :)
« Last Edit: August 21, 2021, 12:07:08 by jsalai »
I won't belong to any organization that would have me as a member.
[Groucho Marx]

Offline round157

  • Sr. Member
  • ****
  • Posts: 469
Re: Atom editor
« Reply #8 on: August 21, 2021, 23:54:15 »
In general i don't like to use one editor for few languages
that simply sucks but according to your experience we need to try.
Editor don't make language better? or maybe ..

The Atom editor may not be good? Okay.

I remember Chris recommending to me the Atom editor years ago.

If chrisws writes a detailed guide for using sbasic.exe and the Atom editor, the guide will be very helpful to beginners in using SmallBASIC to learn programming!

Offline Aurel

  • Sr. Member
  • ****
  • Posts: 349
Re: Atom editor
« Reply #9 on: August 22, 2021, 00:04:43 »
you acting like you are bored of boring
(Y)

Offline bplus

  • Full Member
  • ***
  • Posts: 221
Re: Atom editor
« Reply #10 on: August 22, 2021, 02:01:34 »
Actually Aurel had an editor working for sb way back when sb had a forum.

Offline Aurel

  • Sr. Member
  • ****
  • Posts: 349
Re: Atom editor
« Reply #11 on: August 22, 2021, 20:33:36 »
Yes i still have it but still open main SB window
for a difference version for qb64 work better opening compiler console ..
do the job ,and then when you click run (after compilation) your program run
standalone.
Unfotunatelly SB is not made on that way ..no mather is it interpreter
heck i even can run my own interpreter with few other editors as well.
(Y)

Offline bplus

  • Full Member
  • ***
  • Posts: 221
Re: Atom editor
« Reply #12 on: August 23, 2021, 02:08:19 »
Yes i still have it but still open main SB window
for a difference version for qb64 work better opening compiler console ..
do the job ,and then when you click run (after compilation) your program run
standalone.
Unfotunatelly SB is not made on that way ..no mather is it interpreter
heck i even can run my own interpreter with few other editors as well.

Put sb in the Run Mode (right click menu popup click Editor [ON] to turn it off) now sb will run the program instead of loading it into the editor.
« Last Edit: August 23, 2021, 02:14:09 by bplus »

Offline Aurel

  • Sr. Member
  • ****
  • Posts: 349
Re: Atom editor
« Reply #13 on: August 23, 2021, 06:52:17 »
Yes i kinda remember that
but that option should be built into command line too
bad thing.... both interpreter and editor are pushed into one exe
ahh ..you know that i'm not real sb user
« Last Edit: August 23, 2021, 07:13:34 by Aurel »
(Y)

Offline chrisws

  • Full Member
  • ***
  • Posts: 117
    • SmallBASIC
Re: Atom editor
« Reply #14 on: August 23, 2021, 10:47:09 »
These are the current command line arguments:

usage: sbasicg [options]... [BAS] [OPTION]
  -h, --help
  -v, --verbose
  -k, --keywords
  -c, --command='<argument>'
  -f, --font='<argument>'
  -r, --run='<argument>'
  -x, --run-live='<argument>'
  -n, --run-n-wait='<argument>'
  -m, --module-path='<argument>'
  -e, --edit='<argument>'
  -d, --debug='<argument>'
  -p, --debugPort='<argument>'

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal