Re: [Pharo-users] Code overview - or maybe not

2020-01-07 Thread Kasper Østerbye
I fully planned to do something about this over Christmas, but alas, family had other plans, and thanks for that. Now however I got a working prototype of what I wanted to build: https://github.com/kasperosterbye/PlantUMLDiagrams The tools are intended as investigation tools. Similar or better t

Re: [Pharo-users] Code overview - or maybe not

2019-12-20 Thread Christopher Fuhrman
Kasper, There's a way to run PlantUML to process in a pipe (stdin/out) which gives pretty good performance for rendering: java -Djava.awt.headless=true -jar plantuml.jar -pipe -tsvg -charset UTF-8 It takes a PlantUML source as input and generates the format of the file (e.g. SVG) on stdout. The

Re: [Pharo-users] Code overview - or maybe not

2019-12-20 Thread tbrunz
Excellent! I think Pharo will greatly benefit from having something like this. I push for UML tools here where I work, but it tends to fall on deaf ears. (To be fair, that's probably mainly due to few of us having the understanding of, and working with, OOD/OOP. I think both will need to change

Re: [Pharo-users] Code overview - or maybe not

2019-12-20 Thread Kasper Østerbye
On 20 December 2019 at 19.59.05, tbrunz (wild.id...@gmail.com) wrote: What I would find useful (and what I think Kasper has started down the road to) is the ability to generate PlantUML script from a specified (set of) packages or classes in Pharo. That would make it easy not only to examine the d

Re: [Pharo-users] Code overview - or maybe not

2019-12-20 Thread tbrunz
Thank you, Norbert! I do recall seeing an earlier version of this, when I was investigating how to use PlantUML within Google Docs several months ago; that led me to Christopher's blog, https://fuhrmanator.github.io/ (where I learned about Pharo's LibC class a

Re: [Pharo-users] Code overview - or maybe not

2019-12-19 Thread David T. Lewis
On Thu, Dec 19, 2019 at 09:57:43PM +0100, Trygve Reenskaug wrote: > Such a tool has existed for a long time, it's called /Squeak Reverse > Engineering /(/SRE/). It's very useful for exploring execution stacks, > objects, and object structures. It goes across different kinds of > objects. It only

Re: [Pharo-users] Code overview - or maybe not

2019-12-19 Thread Kasper Østerbye
My issue with the background color was how to make a TextAttribute to set the background color of individual characters, not the overall background of the text. I succeeded, and Pharo 8 has a background text attribute - at least using Rubric - see https://github.com/pharo-project/pharo/pull/5326

Re: [Pharo-users] Code overview - or maybe not

2019-12-19 Thread Christopher Fuhrman
If you want to consider changing background color that takes into consideration the theme background (e.g. dark or light themes), this code (see it on GitHub)

Re: [Pharo-users] Code overview - or maybe not

2019-12-19 Thread Kasper Østerbye
Do you know https://github.com/fuhrmanator/PlantUMLPharoGizmo ? Norbert Indeed I know that tool, I actually base my stuff on the transformation Furhman makes in that program, only I did not use the whole tool, but just the source to url part. On 19 December 2019 at 19.15.39, tbrunz (wild.id...@g

Re: [Pharo-users] Code overview - or maybe not

2019-12-19 Thread Norbert Hartl
> Am 19.12.2019 um 19:22 schrieb tbrunz : > > Hi Kasper, > > PlantUML is an excellent tool for visualizing code structure, design, > behavior... For both designing it and documenting it. > > I think its most interesting feature is that its API is text-based: You > literally "spell out" your d

Re: [Pharo-users] Code overview - or maybe not

2019-12-19 Thread tbrunz
Hi Kasper, PlantUML is an excellent tool for visualizing code structure, design, behavior... For both designing it and documenting it. I think its most interesting feature is that its API is text-based: You literally "spell out" your diagram in text phrases, and its (Java-based) engine will rend

Re: [Pharo-users] Code overview - or maybe not

2019-12-19 Thread Hilaire
Works with StringMorph too... -- Dr. Geo http://drgeo.eu

Re: [Pharo-users] Code overview - or maybe not

2019-12-19 Thread Hilaire
You should use TextMorph. What about: || t | t := TextMorph new. t backgroundColor: Color blue. t contents: 'Hello'. t lock. t openInWorld|| | Le 19/12/2019 à 15:28, Kasper Osterbye a écrit : > I was struggling for weeks (not every day, but still) to find out how > to change the system to be abl

[Pharo-users] Code overview - or maybe not

2019-12-19 Thread Kasper Osterbye
In an other thread Steve Davies mentions that Pharo can be a bit overwhelming. Indeed I have had the same feeling. I was struggling for weeks (not every day, but still) to find out how to change the system to be able to give background color to text. As part of my attempt at understanding the cod