Hi Yuriy.

It is nice initiative. Unfortunately I am a bit delayed with documenting.
I made experiments with remote Calypso which start to work in one hour. And
it is moved me for a week to realize this generally with PharmIDE.
But at the end it also improved editors part of Calypso.

2017-01-30 11:21 GMT+01:00 Yuriy Tymchuk <[email protected]>:

> Hi everyone,
>
> this question is mainly for Denis, but others may be also interested to
> participate.
>
> So I’d really like to switch to Calypso, but I use Nautilus to eat my own
> dog food (the critiques). Calypso already adds critiques for methods, but
> it misses the ones for classes and packages. The point is that you can use
>
> anObject annotateRubricText: textModel.
>
> And anObject can be anything: a method, or a class, or a package (or
> theoretically any other object object). I’ve tried to expand highlighting
> to classes and methods in Nautilus, but it looks like a complete hell. In
> Calypso it’s much better, but maybe from the experience of the main
> developer, the styling can be pulled up somewhere higher in the hierarchy.
>
> Now it turns out that the bottom plugin is actually useful, as you can get
> the idea about the issue without having to power or do some other actions.
> Will it be possible to have some king of a plugin like that in Calypso. And
> simultaneously is it possible to have a changeable height? Because usually
> you don’t have more than 1-2 critiques, and often you don’t have any, so it
> does not make any sense to occupy so much space with an empty list. (sadly
> in Nautilus I cannot shrink the plugin dynamically).
>

Yes to all questions but it needs to be implemented.
And you force me to prepare it a bit. I already was going to extract
#annotateRubricText: to separate plugin because it was problem for minimal
image browsing.
So try to load dev version:

Gofer it
smalltalkhubUser: 'Pharo' project: 'Calypso';
configuration;
loadDevelopment .

You will see new Calypso-Plugins-Critic-Browser package. I add decorators
support to TextEditorTool. And critic plugin just adds CriticDecorator into
required tools.
Sadly it is not working. Critiques are not shown somehow.
I leave it for you to fix it. Probably reason is that full tool morph is
prepared in background. So critiques are added when morph is not in World.
I hope you can find solution.

About empty list: I create QANautilusPluginMorph with #shrinkWrap layout.
But internal submorphs do not allow hide it completely.
So it is also for you. Have fun :)

Reply via email to