Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Seed7 Geany Conf - Marc Carson 2025 - Public Domain - Very hastily created 0.1
- # https://www.friendlyskies.net/
- # This usually goes in ~/.config/geany/filedefs/
- #
- # NOTE: Error Regex feature
- # In case the error_regex below doesn't automatically work...
- # If you want more of a first-class experience in Geany, add this:
- # In: Build > Set Build Commands > Seed7 Commands > Error regular expression:
- # ([^\s()]+)\((\d+)\):(\d+):
- # (Remove the pound sign / hash tag and space at the start!!)
- # ...that should give you clickable errors and arrows in the margins.
- # Note that Geany will also update the below config automatically with that regex if this file is in your user conf folder.
- [settings]
- extension=sd7
- lexer_filetype=Python
- comment_single=#
- comment_use_indent=true
- preprocessor_symbol=$
- [keywords]
- keywords=if then else elsif case when of for while repeat until loop break next return procedure function type var const begin end is do in out ref mod div and or not xor func proc
- keywords2=boolean integer bigInteger rational bigRational float complex char string array hash set struct enumeration bin64 bin32 bstring color time duration file text fileSys database sqlStatement process category reference ref_list structElement program ptr func varfunc void proc type object expr TRUE FALSE NIL
- identifiers=writeln write readln read input flush truncToSecond await getch putch open close seek tell eof SECONDS NOW OUT KEYBOARD $include include
- [styling]
- default=default
- comment=comment
- string=string
- character=character
- number=number
- operator=operator
- identifier=identifier_1
- word=keyword_1
- word2=keyword_2
- word3=keyword_3
- preprocessor=preprocessor
- error=error
- [indentation]
- width=2
- type=0
- [build-menu]
- # %f = full filename, %e = filename without extension
- FT_00_LB=_Compile
- FT_00_CM=s7c "%f"
- FT_00_WD=
- EX_00_LB=_Run
- EX_00_CM="./%e"
- EX_00_WD=
- FT_02_LB=
- FT_02_CM=
- FT_02_WD=
- # error_regex is wild to try to guess at, UNLESS you first enter it in the Set build commands GUI area...it will then update this file by itself. lmao. 2 hours later...
- error_regex=([^\\s()]+)\\((\\d+)\\):
- # Optional: if you have a linter or syntax checker...
- # IDK if Seed7 has that...
- # FT_01_LB=_Check
- # FT_01_CM=s7c --check "%f"
- # FT_01_WD=
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement