FreeBasic IDE-poseidonFB(Update 2024.03.03)

User projects written in or related to FreeBASIC.
Post Reply
Kuan Hsu
Posts: 586
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: FreeBasic IDE-poseidonFB(Update 2018.03.04)

Post by Kuan Hsu »

Dinosaur wrote:
2) The Double-Click on "Search" panel will get line data and get first "(" position (pos1), then first "):" position (pos2), if we get pos1 and pos2 and pos2 > pos1, the file fullpath is the words before pos1, the line number is the value beween pos1 and pos2, I don't know where the bug is.........Is the fullpath with "("?
I think it has more to do with "Contracted files". The search and the Double Click works correctly, except the line is not visible
on the screen. I have to scroll up to find it.
OK, I found the bugs! I'll fix at next reversion(rev.376)
Dinosaur
Posts: 1478
Joined: Jul 24, 2005 1:13
Location: Hervey Bay (.au)

Re: FreeBasic IDE-poseidonFB(Update 2018.03.15)

Post by Dinosaur »

Hi All

Kuan Hsu, I have just tested version 0.375

Search/ Find/Replace in Files
Not Case Sensitive
Not Whole word
All files "contracted"

Search word: .DoseBit
First Occurrence found: /Win01.bas(516):
Double Click on that line in Search Result Window and Sub containing the result was expanded
however the first line visible on screen is 542.

Regards

Edit: I think the same thing happens when there is a compile error, and you try to jump to the location of the error.
sancho3
Posts: 358
Joined: Sep 30, 2017 3:22

Re: FreeBasic IDE-poseidonFB(Update 2018.03.15)

Post by sancho3 »

I am using Rev. 375.
I can't find my project. I have made two projects and I can't find them anywhere on my computer (Ubuntu). Is there a project file? Is there a file extention?
Just as a test I created a project named Flush. It shows up in Recent Projects, but I have no files named Flush on my computer.

Also you should know there is a default project that seems to come with the download called / home/nagahirokyo/projects/FBCode/ppSDL2_GL:ppSDL2_GL. I assume that is one of yours Kuan.

Capitalization occurs on the last letter of the keyword, like for Print when you press the 't' Poseiden adjusts the case of the keyword.
But that is not best. If you are typing in an identifier called print_var, and you don't want it capitalized, then you have to scroll back and overwrite the 'P'.
On other IDE's the capitalization occurs when the first non-identifier character is pressed, like a SPACE or a ( or ENTER.

I know I am throwing a lot at you these last few days. Poseiden has become my IDE for Ubuntu.
Thanks Kuan.
Kuan Hsu
Posts: 586
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: FreeBasic IDE-poseidonFB(Update 2018.03.15)

Post by Kuan Hsu »

Dinosaur wrote:Hi All

Kuan Hsu, I have just tested version 0.375

Search/ Find/Replace in Files
Not Case Sensitive
Not Whole word
All files "contracted"

Search word: .DoseBit
First Occurrence found: /Win01.bas(516):
Double Click on that line in Search Result Window and Sub containing the result was expanded
however the first line visible on screen is 542.

Regards

Edit: I think the same thing happens when there is a compile error, and you try to jump to the location of the error.
Dear Dinosaur:
Haha....it should be solved at rev.376( not commit yet ), just a moment, I'll check sancho3's request ^^
Already updated to rev.376
sancho3 wrote:I am using Rev. 375.
I can't find my project. I have made two projects and I can't find them anywhere on my computer (Ubuntu). Is there a project file? Is there a file extention?
Just as a test I created a project named Flush. It shows up in Recent Projects, but I have no files named Flush on my computer.
Project file in poseidonFB is ".poseidon" in project dir, in linux, the first word of the filename is '.' = hidden file
sancho3 wrote:Also you should know there is a default project that seems to come with the download called / home/nagahirokyo/projects/FBCode/ppSDL2_GL:ppSDL2_GL. I assume that is one of yours Kuan.
Yes~~
sancho3 wrote: Capitalization occurs on the last letter of the keyword, like for Print when you press the 't' Poseiden adjusts the case of the keyword.
But that is not best. If you are typing in an identifier called print_var, and you don't want it capitalized, then you have to scroll back and overwrite the 'P'.
On other IDE's the capitalization occurs when the first non-identifier character is pressed, like a SPACE or a ( or ENTER.
Modified at rev.376
sancho3 wrote: I know I am throwing a lot at you these last few days. Poseiden has become my IDE for Ubuntu.
Thanks Kuan.
^^
Dinosaur
Posts: 1478
Joined: Jul 24, 2005 1:13
Location: Hervey Bay (.au)

Re: FreeBasic IDE-poseidonFB(Update 2018.03.16)

Post by Dinosaur »

Hi A

Kuan Hsu, well done that works very nicely.
I even created an error to see that it jumped to correct line, and that seems to work as well.

Running out of requests now (Except of course saving "Collapse State")

Regards
sancho3
Posts: 358
Joined: Sep 30, 2017 3:22

Re: FreeBasic IDE-poseidonFB(Update 2018.03.16)

Post by sancho3 »

Version 375

The comment/uncomment works but there is a quirk.
Lets say you have 5 lines selected and your cursor is on the 6th line but nothing is selected on the 6th line. Commenting this selection will add a ' to the 6th line. It should only add that to lines that have at least 1 char selected.

Capitalization is happening inside quoted literals. It should not be happening there.

Does the parser use the keywords from settings in order? Can I move them around so that I can make my own keyword color groups (this would take them out of sorted order)?
Dinosaur
Posts: 1478
Joined: Jul 24, 2005 1:13
Location: Hervey Bay (.au)

Re: FreeBasic IDE-poseidonFB(Update 2018.03.16)

Post by Dinosaur »

Hi All

Sancho3 , I have put FB keywords together in one, and used the other 3 Keywords to add my own words, and assigned
my own colours. The order doesn't matter but keep the words lower case.
In keywords3 I have literally 500 keywords and I add them as I need to.

Regards
Dinosaur
Posts: 1478
Joined: Jul 24, 2005 1:13
Location: Hervey Bay (.au)

Re: FreeBasic IDE-poseidonFB(Update 2018.03.16)

Post by Dinosaur »

Hi All

Kuan Hsu I have one request that is available in Geany.

When a line is selected in a Sub or Function, Geany shows the name of the Sub/Function at the bottom of the screen.
This is particularly handy when you search and click on the search line to go there and the size of the Sub/Function is so large that
you have to scroll to find out what Sub/Function you are in.

Just something to do when you are twiddling your thumbs.

Regards
Takase
Posts: 13
Joined: Feb 09, 2018 14:12

Re: FreeBasic IDE-poseidonFB(Update 2018.03.16)

Post by Takase »

My poseidonFB(version 0.376) seems to close automatically after using it for a while. Any ideas on this problem?

EDIT:
It only closes when the parseLive! level is set to "full". Any ideas?
Kuan Hsu
Posts: 586
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: FreeBasic IDE-poseidonFB(Update 2018.03.16)

Post by Kuan Hsu »

Dinosaur wrote:Running out of requests now (Except of course saving "Collapse State")


Kuan Hsu I have one request that is available in Geany.

When a line is selected in a Sub or Function, Geany shows the name of the Sub/Function at the bottom of the screen.
This is particularly handy when you search and click on the search line to go there and the size of the Sub/Function is so large that
you have to scroll to find out what Sub/Function you are in.

Just something to do when you are twiddling your thumbs.
(1) Please try rev.377 ( Options -> Preference -> Editor -> Save Document Status )
(2) View -> Show Function Title = ON, bottom of the screen? hmm.........
sancho3 wrote:The comment/uncomment works but there is a quirk.
Lets say you have 5 lines selected and your cursor is on the 6th line but nothing is selected on the 6th line. Commenting this selection will add a ' to the 6th line. It should only add that to lines that have at least 1 char selected.

Capitalization is happening inside quoted literals. It should not be happening there.
Please try rev.377
Takase wrote:My poseidonFB(version 0.376) seems to close automatically after using it for a while. Any ideas on this problem?

EDIT:
It only closes when the parseLive! level is set to "full". Any ideas?
I think it's a memory leak bug, I'll check sources code and maybe you can send me some example code (or post on forum) that cause crash?
Which OS did you use?
Dinosaur
Posts: 1478
Joined: Jul 24, 2005 1:13
Location: Hervey Bay (.au)

Re: FreeBasic IDE-poseidonFB(Update 2018.03.19)

Post by Dinosaur »

Hi All

Both of them worked great.
Many thanks for all your fixes and changes.
I have actually removed Geany now.

Regards

Edit:
(2) View -> Show Function Title = ON, bottom of the screen? hmm.........
I guess the hmm.... means I should have looked a bit deeper, as it was already there.
c-sanchez
Posts: 145
Joined: Dec 06, 2012 0:38

Re: FreeBasic IDE-poseidonFB(Update 2018.03.19)

Post by c-sanchez »

Hi @Kuan, here other feature request if not much problem.
Make the Search and Search/Replace windows modeless
Example of how can look
Search Dialog Modeless
Image

Replace Dialog Modeless
Image

(parts taked from SciTE)

Spanish.lng updated

Code: Select all

file=Archivo
	new=Nuevo
	open=Abrir
	save=Guardar
	saveas=Guardar como
	saveall=Guardar todo
	close=Cerrar
	closeall=Cerrar todo
	closealltabs=Cerrar todas las pestañas
	recentfiles=Archivos recientes
	recentprjs=Proyectos recientes
	clearall=Limpiar todo
	exit=Salir
	
edit=Editar
	redo=Rehacer
	undo=Deshacer
	cut=Cortar
	copy=Copiar
	paste=Pegar
	commentline=Des/Comentar línea
	selectall=Seleccionar todo
	selectall=Select All
	
search=Buscar
	findreplace=Buscar/Cambiar
	findnext=Buscar siguiente
	findprev=Buscar anterior
	findreplacefiles=Buscar/Cambiar en archivos
	goto=Ir a línea
		line=Línea

windows=Ventanas
view=Ver
	outline=Esquema
	message=Mensajes
	fullscreen=Pantalla completa
	
prj=Proyecto
	newprj=Nuevo proyecto
	openprj=Abrir proyecto
	importprj=Importar proyecto Fbedit
	saveprj=Guardar proyecto
	saveallprj=Guardar todos los proyectos
	closeprj=Cerrar proyecto
	closeallprj=Cerrar todos los proyectos
	properties=Propiedades...
	
	openinexplorer=Abrir en Explorador
	removefromprj=Quitar de proyecto
	rename=Renombrar archivo
	setmainmodule=Establecer como módulo principal
	newfile=Nuevo archivo
		filename=Nombre de archivo
	newfolder=Nueva carpeta
		foldername=Nombre de carpeta
	addfile=Añadir archivo(s)
	
build=Construir
	compile=Compilar
	compilerun=Compilar y ejecutar
	run=Ejecutar
	buildprj=Construir proyecto
	rebuildprj=ReConstruir proyecto
	quickrun=Ejecución rápida
	
debug=Depurar
	rundebug=Ejecutar depuración
	compiledebug=Compilar con depuración
	builddebug=Construir proyecto con depuración
	
options=Opciones
	tools=Herramientas
		seteol=Definir carácter de fin de línea
		converteol=Convertir carácter de fin de línea
		convertencoding=Convertir codificación
		convertcase=Convertir palabras claves
			uppercase=MAYÚSCULAS
			lowercase=minúsculas
			mixercase=Caso Mixto
		setcustomtool=Herramienta personalizada
			customtool1=Herramienta personalizada (1)
			customtool2=Herramienta personalizada (2)
			customtool3=Herramienta personalizada (3)
			customtool4=Herramienta personalizada (4)
			customtool5=Herramienta personalizada (5)
			customtool6=Herramienta personalizada (6)
			customtool7=Herramienta personalizada (7)
			customtool8=Herramienta personalizada (8)
			customtool9=Herramienta personalizada (9)
	language=Idioma
		openlanguage=Elegir idioma...
	preference=Preferencias
		compiler=Compilador
			compilerpath=Compilador
			debugpath=Depurador
			x64path=x64
			compileropts=Opciones fbc
			compilersetting=Ajustes de compilador
				errorannotation=Mostrar errores/advertencias de compilador usando anotaciones
				showresultwindow=Mostrar ventana de resultados
				usesfx=Reproducir SFX (Ventana de resultados apagada)
				delexistexe=Antes de compilar, Eliminar ejecutable existente
				consoleexe=Usar Lanzador de consola para ejecutar programa
		parser=Analizador
			parsersetting=Ajustes de analizador
				enablekeyword=Autocompletar palabras claves
				enableinclude=Autocompletar inclusiones
				enableparser=Activar analizador
				showtitle=Mostrar título de función
				width=Ancho
				showtypeparam=Mostrar tipo con parámetros de función
				sortignorecase=Lista de autocompletar ignora el caso
				selectcase=Selección de autocompletar no es sensible al caso
				showlisttype=Mostrar lista de autocompletar tipo
				showallmembers=Mostrar todos los miembros( public, protected, private )
				enabledwell=Enable Mouse Dwell to Show Type
				parserlive=Nivel de ParseLive!
					none=Ninguno
					light=Ligero
					full=Completo
					update=Refrescar
				trigger=Activar autocompletado
					triggertip=Establecer 0 para deshabilitar
					codecompletiononoff=Activar/Desactivar completado de código
				includelevel=Incluir niveles
			editor=Editor
				lnmargin=Mostrar número de línea
				fixedlnmargin=Número de línea ancho fijo
				bkmargin=Mostrar marcador
				fdmargin=Mostrar plegado
				indentguide=Mostrar guía de indentado
				showcaretline=Resaltar línea actual
				wordwarp=Ajustar línea
				tabtospace=Indentar con espacios
				autoindent=Indentado automático
				showeol=Mostrar fin de línea
				showspacetab=Mostrar espacio/tabulación
				autoinsertend=Auto insertar fin de bloque
				autoclose=Cerrar automáticamente ( citas... )
				coloroutline=Colorear contorno de elemento
				showidemessage=Mostrar mensaje de IDE
				boldkeyword=Palabras clave en negrita
				bracematchhighlight=Resaltar parejas
				bracematchdoubleside=Resaltar por ambos lados
				multiselection=Activar selección múltiple
				loadprevdoc=Cargar documentos anteriores
				middlescroll=Desplazar con botón central de ratón
				savedocstatus=Guardar estado de documento
				controlcharsymbol=Símbolo de carácter de control
				tabwidth=Ancho de tabulacón
				columnedge=Borde de columna
				barsize=Tamaño de barra
					barsizetip=Necesita un reinicio para que surta efecto (2~5)
				maker0=Marca 0
				maker1=Marca 1
				maker2=Marca 2
				maker3=Marca 3
				autoconvertkeyword=Convertir palabras claves automáticamente
				font=Fuente
					default=Por defecto
					'document=Documento
					leftside=Esquema
					'fistlist=Archivos
					'project=Proyecto
					'outline=Esquema
					bottom=Mensajes
					'output=Salida
					'search=Búsqueda
					'debug=Depuración
					annotation=Anotación
					'manual=Manual
					statusbar=Barra de estado
				color=Color
					colorfile=Plantilla
					caretline=Línea actual
					cursor=Cursor
					prjtitle=Título de proyecto
					sourcefolder=Carpeta de origen
					sel=Selección
					ln=Número de línea
					foldcolor=Margen plegable
					selalpha=Alfa de selección
						alphatip=Asignar 255 para desactivar alfa
					hlcurrentword=Resaltar palabra actual
					hlcurrentwordalpha=Indicador Alfa
				colorfgbg=Color/Primer plano/Fondo
					bracehighlight=Resaltado de parejas
					manualerrorannotation=Anotación de error
					manualwarningannotation=Anotación de advertencia
					scintilla=Scintilla
					SCE_B_COMMENT=Comentario
					SCE_B_NUMBER=Número
					SCE_B_STRING=Cadena
					SCE_B_PREPROCESSOR=Preprocesador
					SCE_B_OPERATOR=Operador
					SCE_B_IDENTIFIER=Identificador
					SCE_B_COMMENTBLOCK=Bloque de comentario
					
			shortcut=Atajos
				sc_findreplace=Buscar/Cambiar
				sc_findreplacefiles=Buscar/Cambiar en archivos
				sc_findnext=Buscar siguiente
				sc_findprev=Buscar anterior
				sc_goto=Ir a línea
				sc_undo=Deshacer
				sc_redo=Rehacer
				sc_gotodef=Ir a definición
				sc_procedure=Ir a procedimiento de miembro
				sc_quickrun=Ejecución rápida
				sc_run=Ejecutar
				sc_compile=Compilar
				sc_build=Construir
				sc_leftwindow=Mostrar/Ocultar Esquema
				sc_bottomwindow=Mostrar/Ocultar Mensajes
				sc_showtype=Mostrar tipo
				sc_reparse=Reanalizar
				sc_save=Guardar archivo
				sc_saveall=Guardar todo
				sc_close=Cerrar archivo
				sc_nexttab=Pestaña siguiente
				sc_prevtab=Pestaña anterior
				sc_newtab=Nueva pestaña
				sc_autocomplete=Auto-completar
				sc_compilerun=Compilar y ejecutar
				sc_comment=Comentar línea
				sc_uncomment=Descomentar línea
				sc_backnav=Navega hacia Atrás
				sc_forwardnav=Adelante...
				sc_backdefinition=Devolver definicion
			keywords=Palabras claves
				keyword0=Grupo 0
				keyword1=Grupo 1
				keyword2=Grupo 2
				keyword3=Grupo 3
			'manual=Manual
				manualpath=Ruta de manual
				manualusing=Usar manual de ayuda
				
	manual=Manual
	about=Acerca de...

	configuration=Configuración...
	setcustomoption=Definir opciones de compilador...

bookmark=Alternar marcador
bookmarkprev=Marcador anterior
bookmarknext=Marcador siguiente
bookmarkclear=Limpiar marcadores

outline=Esquema
	collapse=Colapsar
	showpr=Cambiar título de nodo del esquema
	refresh=Refrescar
	searchanyword=Buscar cualquier palabra
	hide=Ocultar

filelist=Archivos
	fullpath=Ruta completa

output=Salida
	clear=Limpiar

'tab
closeothers=Cerrar las otras
torighttabs=Enviar a vista secundaria
tolefttabs=Enviar a vista principal
rotatetabs=Dividir vistas horizontalmente

'popup window
highlightmaker=Marcador de resaltado...
highlghtlines=Resaltar línea(s)
delhighlghtlines=Eliminar línea(s) resaltada(s)
colorhighlght=Seleccionar color...
delete=Eliminar
showannotation=Mostrar anotación
hideannotation=Ocultar anotación
removeannotation=Quitar toda la anotación
expandall=Expandir todo
contractall=Colapsar todo

'properties
prjproperties=Propiedades de proyecto
general=General
	prjname=Nombre
	prjtype=Tipo
		console=Programa de consola
		static=Biblioteca estática
		dynamic=Biblioteca dinámica
	prjdir=Directorio
	prjmainfile=Principal
	prjonefile=Pasar un archivo al compilador
	prjtarget=Destino
	prjargs=Argumentos:
	prjopts=Compilación:
	prjcomment=Comentario
	prjcompiler=Ruta de FBC
	nodirmessage=¡Sin directorio de proyecto!
include=Incluir...
	includepath=Rutas de inclusiones
	librarypath=Rutas de bibliotecas
	
'search window
findwhat=Buscar esto
replacewith=Cambiar por
direction=Dirección
	forward=Adelante
	backward=Atrás
scope=Alcance
	all=Todo
	selection=Selección
casesensitive=Sensible al caso
wholeword=Palabra completa
find=Buscar
findall=Buscar todo
replacefind=Buscar/Cambiar
replace=Cambiar
replaceall=Cambiar todo
countall=Contar todo
bookmarkall=Marcar todo
document=Documento
alldocument=Todo el documento
allproject=Todo el proyecto
status=Barra de estado

'short cut
shortcutname=Nombre de atajo
shortcutkey=Atajo actual

'debug
runcontinue=Ejecutar/Continuar
stop=Detener
step=Paso
next=Siguiente
return=Volver
until=Hasta
terminate=Terminar
bp=Puntos de interrupciónnts
variable=Variables
	watchlist=Lista de seguimiento
		add=Añadir
		remove=Quitar
		removeall=Quitar todo
	addtowatch=Añadir a lista de seguimiento
	'refresh=Refrescar
	locals=Locales
	args=Argumentos
	shared=Compartido
	showvalue=Mostrar valor *
	showaddress="Mostrar dirección @"
register=Registros

'caption
caption_new=Nuevo
caption_open=Abrir
caption_saveas=Guardar como
caption_cut=Cortar
caption_copy=Copiar
caption_paste=Pegar
caption_selectall=Seleccionar todo
caption_about=Acerca de...
'caption_findreplace=Buscar/Cambiar
'caption_findreplacefiles=Buscar/Cambiar en archivos
'caption_goto=Ir a línea
caption_search=Búsqueda
caption_prj=Proyecto
caption_openprj=Abrir proyecto
caption_importprj=Importar proyecto Fbedit
caption_prjproperties=Propiedades de proyecto
caption_preference=Preferencias
caption_argtitle=Opciones de compilador / Argumentos de EXE
caption_debug=Depurar
caption_optionhelp=Opciones de compilador

'message
ok=Aceptar
yes=Sí
no=No
cancel=Cancelar
apply=Aplicar
bechange=se ha modificado, ¿guardar?
samekey=El mismo valor clave con
needrestart=Necesita reiniciar poseidonFB para cambiar idioma
suredelete=¿Desea eliminar archivo?
sureexit=¿Salir de poseidonFB?
opened=¡Ya ha sido abierto!
existed=¡Ya había existido!
wrongext=¡¡Nombre de extensión incorrecto!!
filelost=¡¡no existía!!
.poseidonbroken=¡¡Error al cargar archivo de configuración del proyecto!!¡¡Formato Xml puede estar roto!!
.poseidonlost=¡Se había perdido archivo xml de configuración!
continueimport=El directorio tiene archivo de proyecto de poseidonFB, ¿Continuar importación de todos modos?
compilefailure=¡Error de compilación!
compilewarning=Compilación realizada, ¡Pero tiene advertencias!
compileok=¡Compilación realizada!
cantundo=¡No se puede deshacer esta acción! ¿Continuar de todos modos?
exitdebug1=¿Salir de depuración ahora?
exitdebug2=¡¡No se han encontrado símbolos de depuración!! ¡Salir de depuración!
applycolor=¿Aplicar ajuste de color de fondo a otros scintilla?
noselect=¡Sin seleccionar!
quest=Pregunta
alarm=Alerta
error=Error
foundword=Palabra encontrada.
foundnothing=¡Nada encontrado!

exefile=Archivos ejecutables
basfile=Codigo fuente de freeBASIC
bifile=Inclusiones de freeBASIC
supportfile=Todos los archivos soportados
lngfile=Archivos de idioma
chmfile=Archivo de Ayuda de HTML Compilado
allfile=Todos los archivos
fbeditfile=Poyectos de FbEdit
Kuan Hsu
Posts: 586
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: FreeBasic IDE-poseidonFB(Update 2018.03.19)

Post by Kuan Hsu »

Dinosaur wrote:Hi All

Both of them worked great.
Many thanks for all your fixes and changes.
I have actually removed Geany now.

Regards

Edit:
(2) View -> Show Function Title = ON, bottom of the screen? hmm.........
I guess the hmm.... means I should have looked a bit deeper, as it was already there.
It's a misunderstandinIg, I mean maybe I can change the layout.....^^
Dinosaur
Posts: 1478
Joined: Jul 24, 2005 1:13
Location: Hervey Bay (.au)

Re: FreeBasic IDE-poseidonFB(Update 2018.03.19)

Post by Dinosaur »

Hi All

No. the layout is good, it was just me "opening mouth before putting brain into gear"

Regards
Takase
Posts: 13
Joined: Feb 09, 2018 14:12

Re: FreeBasic IDE-poseidonFB(Update 2018.03.19)

Post by Takase »

Kuan Hsu wrote:maybe you can send me some example code (or post on forum) that cause crash?
Sorry but I deleted the code. The code was an attempt to wrap BASS library and I think its around 300~ lines.
Kuan Hsu wrote:Which OS did you use?
Windows 8.1
Post Reply