GithubHelp home page GithubHelp logo

Config Question about keypirinha-zealous HOT 4 CLOSED

bantya avatar bantya commented on July 19, 2024
Config Question

from keypirinha-zealous.

Comments (4)

bantya avatar bantya commented on July 19, 2024

@evanricard, I can't understand your problem. Can you please elaborate? Please provide steps to replicate your issue. 😀

And, sorry for late reply. 😒

from keypirinha-zealous.

evanricard avatar evanricard commented on July 19, 2024

No problem @bantya, looking back at this...I can't quite understand it myself sorry I should have clarified. I am trying to filter keypirinha when I want to do a search through zeal for a specific data type or object that I might need to know about at any given time for programming. Specifically, I was trying to configure your package so I basically copied the read-only version of the configuration file, uncommented the text, and then pasted into the writable config, zealous.ini.

Unfortunately, typing in a filter like net: for the .NET framework just prompts me to refresh your package and does not resolve to Zeal like I was hoping. Anyways, thanks!

image

from keypirinha-zealous.

bantya avatar bantya commented on July 19, 2024

I have a solution for you.

Looks like you did everything right but went wrong in case of Zeal Doc Name. As per the first screenshot you attached, your zealous.ini file is as:

[main]
# Plugin's main configuration section
#
# * path
#   The path to the zeal executable.
path = "C:\Program Files\Zeal"
#
# * docset_path
#   The zeal docsets path.
docset_path = "C:\Users\evanricard\AppData\Local\Zeal\Zeal\docsets"
#
# * results
#   The total results count.
result = 15

[docs]
# The zeal docs list
#
# Syntax:
#   [distinct keyword] = [zeal doc name]
#
# Examples:
#   ap = apache
#   ng = nginx
net = .NET
js = Javascript

The culprit here in [docs] section in entry net = .NET (also in js = Javascript). For the .NET Framework, the zeal doc identifier is net (NOT .NET).

Now you may ask, how on earth should I decide what to use? Good question!

Here is the paragraph where I apologize 😖 for not being clear about what zeal doc identifier to use and where to find it. The documentation fell short here.

Now to find appropriate doc identifier follow mentioned steps 🐾:

  1. You should go to zeal docs folder (docset_path in [main] section) i.e. C:\Users\USERNAME\AppData\Local\Zeal\Zeal\docsets (in your case: C:\Users\evanricard\AppData\Local\Zeal\Zeal\docsets). Here you will find all of your installed docsets as:

    image

  2. Open your desired docset folder (in your case: NET_Framework.docset)

  3. Go to Contents folder.
    Here you will find Info.plist file. Open this file in your code editor (or Notepad will do). You will see something like:

    image

  4. The Info.plist is an XML file. Look for key CFBundleIdentifier. Copy the adjacent string value (in your case: net NOT .NET).
    If by chance CFBundleIdentifier is not present (highly unlikely!), look for DocSetPlatformFamily and copy it's value.

So now you can find the exact zeal docs identifier for your docset.

NOTE: The identifiers have to be exactly same as given in Info.plist file. Case must be same. That's why I formerly said js = Javascript is also a culprit. So, your [docs] section should be like:

[docs]
# The zeal docs list
#
# Syntax:
#   [distinct keyword] = [zeal doc name]
#
# Examples:
#   ap = apache
#   ng = nginx
net = net
js = javascript

Hope this lengthy late reply solved your problem! If problem persists, consult your family doctor 😁.

🙏🏼

from keypirinha-zealous.

bantya avatar bantya commented on July 19, 2024

So I am considering it as solved and closing it!

@evanricard If you want any help again, please let me know here and I will re-open this if required!

🙏🏼

from keypirinha-zealous.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.