Hey!

I understand.

I couldn't make it work either.

Thanks!


Regards,
Vlad




On 12 Mar 2020, at 18:06, Rick Yentzer wrote:

Hey Vlad,

Your post got me thinking about it so I tried something similar and it
wasn't working like I "thought" it would.

Per Rich's post it looks like it will not be possible with ctags to go to
the "definition" of a css class.

Thanks,
Rick

On Thursday, March 12, 2020 at 9:07:55 AM UTC-4, Vlad Ghitulescu wrote:

Hi, Rick!

That's exactly what I've asked here
<https://groups.google.com/forum/#!topic/bbedit/fDQtoX-Opvs>! :-)
At least I'm not aloneā€¦

And the ctags-route was also suggested in the above thread.

Regards,
Vlad

On 11 Mar 2020, at 23:13, Rick Yentzer wrote:

Hello, I've searched this forum and read several posts on ctags, but I
cannot get it to work like I'm thinking it should.

The manuals says:

If one or more tags files are found in the same directory as the front document, or in any parent directory up the chain from the front document,
you can employ the ctag information by selecting a word, and either
choosing Find Definition from the Search menu, or by Control-clicking and
accessing the Definitions submenu of the contextual menu.



My folder structure is:

   - testing-ctags
      - index.html
      - styles.css
      - ctags (generated with bbedit --maketags)

I have two simple class names in styles.css that are used in index.html
like so:

<h2 class="section-header">Section heading here</h2>
<button class="btn btn-primary">Click me.</button>


The ctags file contains the css classes:

!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to
lines/
!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/
!_TAG_PROGRAM_AUTHOR Universal Ctags Team //
!_TAG_PROGRAM_NAME Universal Ctags /Derived from Exuberant Ctags/
!_TAG_PROGRAM_URL https://ctags.io/ /official site/
!_TAG_PROGRAM_VERSION 0.0.0 /6e5c9a9/
*.btn styles.css 1;" c line:1*
.section-header styles.css 8;" c line:8

But, when I select "btn" in index.html and go to Menu>Search>Find
Definition, all I get is a "beep" sound and nothing happens.

What am I missing, or doing wrong?

Thanks,
Rick Yentzer

--
This is the BBEdit Talk public discussion group. If you have a feature
request or need technical support, please email "sup...@barebones.com
<javascript:>" rather than posting here. Follow @bbedit on Twitter: <
https://twitter.com/bbedit>
---
You received this message because you are subscribed to the Google Groups
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to bbe...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/bbedit/58670504-e0c8-4fa1-9437-5c4313128063%40googlegroups.com
<https://groups.google.com/d/msgid/bbedit/58670504-e0c8-4fa1-9437-5c4313128063%40googlegroups.com?utm_medium=email&utm_source=footer>
.



--
This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "supp...@barebones.com" rather than posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
---
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to bbedit+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/65be7907-cc6b-497c-818b-ab81846ca0b8%40googlegroups.com.



--
This is the BBEdit Talk public discussion group. If you have a feature request or need 
technical support, please email "supp...@barebones.com" rather than posting here. 
Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/BF30BEF5-8051-4D1F-8566-B478D711DC9A%40Ghitulescu.de.

Reply via email to