[ 
https://issues.apache.org/jira/browse/NETBEANS-4739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17256002#comment-17256002
 ] 

Michal Koscielny commented on NETBEANS-4739:
--------------------------------------------

I have noticed the same problem - css class navigation worked in 11.3 but 
stopped working in 12 and now in version 12.2 the problem still persists. When 
pressing Control+B when the cursor is on a class name or when Control-clicking 
with the mouse on it we should be navigated to the css declaration or be given 
a list of possible declarations. This is how it looked in 11.3:

!netbeans-css-class.png!

Now in version 12.2 this simply doesn't work and there are no errors reported. 
Steps to reproduce are pretty easy since it appears to affect all kinds of 
projects AFAIK - but I mostly use PHP projects - just try it in 11.3 and then 
in 12 and 12.2. I've attached a simple test project with .php, .html and .tpl 
files - navigating to css declarations should work from any of them.

[^testcss.zip]

> CSS Go to Declaration , does not work
> -------------------------------------
>
>                 Key: NETBEANS-4739
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4739
>             Project: NetBeans
>          Issue Type: Bug
>          Components: web - CSS Editor
>    Affects Versions: 12.0
>         Environment: Windows 10, Xubuntu 20.04, openjdk 11.0.8
> Proyectos con html y css en un único archivo.
> Proyectos con html y css separados en .html y .css
> Proyectos Angular 10 con CSS y con SCSS
>            Reporter: Alejandro G. Prieto
>            Assignee: Alonso del Arte
>            Priority: Major
>         Attachments: netbeans-css-class.png, testcss.zip
>
>
> Translated by Al from Spanish:
> "Navigation to CSS class declarations does not work.
> "Tried it with . . .
>  * Ctrl-B
>  * right-click, Navigate - go to declaration
>  * ctrl + left click
> "There's no response.
> "Sometimes there's a message in the lower part of the window that says that 
> the class declaration can't be found."
> Original description:
> La navegación a la declaración de clases CSS no funciona.
> Probado con . . .
>  * Ctrl-B
>  * click derecho, Navigate - go to declaration
>  * ctrl + left click
> No se obtiene respuesta.
> En algunas ocasiones, aparece mensaje que dice que no se encuentra la 
> declaración de la clase, en el parte inferior de la ventana
> Originator confirms problem is specific to 12.0, does not occur in 11.2.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to