Mathematica Help Browser from Mathematica 5 in new versions of Mathematica - wolfram-mathematica

I remember that someone from WRI stated in the official newsgroup that Mathematica 7 still has a working old-fashioned Mathematica Help Browser from Mathematica 5 for compatibility purposes. But I can not find the post where the code for invoking it is given.
How to invoke and use this legacy Help Browser in new versions of Mathematica?

The old browser will show up if you try to look at documentation for packages that were written in the old format. From the main documentation page, click 'Add-Ons and Packages' at the very bottom-left, and then click on the old package name. Based on what I have installed, it looks like the old packages will have a little orange square in front of them, instead of a triangle that shows/hides additional information.
The old browser is only used for old documentation.
I assume you're aware of the 'Function Navigator' and 'Virtual Book' which provide alternate ways of navigating the new documentation.

At this moment I have found two ways to invoke the legacy Help Browser by clicking a button:
DisplayForm#ButtonBox["Preface",
BaseStyle -> "AddOnsLinkText",
Active -> True,
ButtonData :> {"PCT Preface", None}]
and
DisplayForm#
ButtonBox[" ยป", BaseStyle -> "Link", Evaluator -> Automatic,
ButtonFunction :> (PacletManager`Package`helpBrowserLookup[#] &),
ButtonData -> "Help Browser"]
I found that we have the global option HelpBrowserSettings that specifies settings for the legacy Help Browser.
And we still have working functions HelpBrowserLookup and HelpBrowserNotebook (now undocumented) and command FrontEndTokenExecute["RebuildHelpIndex"] for rebuilding the help index of the legacy Help Browser.

Related

How to remove WebAuthn credentials on Chrome MacOS?

For example, the one created on this WebAuthn demo page: https://webauthnworks.github.io/FIDO2WebAuthnSeries/WebAuthnIntro/UsernamelessExample.html
I found the similar question without answer on apple forum: https://developer.apple.com/forums/thread/681638
You cannot currently remove them in the UI. A future release will bring this functionality.
Clearing browser data will remove them but, while it can be time-bounded, may also remove other data:
Three dots -> More Tools -> Clear Browsing Data... -> Advanced -> ensure that "Passwords and other sign-in data" is checked.
A UI for this is planned for Chrome 108

code snippets and code complete support in cloud9

I have two questions:
Is there an option to save code snippets ?
IS there a support for code complete to php for example ?
Thanks
No option for that right now. You could do a feature request through support.
Yes, there is partial code completion support, see for example https://c9.io/site/blog/2014/07/announcing-the-all-new-cloud9-development-environment/. This should be extended with further support in the near future.
1.If you now have support for saving Snippets, you should follow the
official documentation
2. Cloud9 -> Preferences -> Project Settings -> PHP Support -> Enable PHP code completationSettings in UI

What is the name of the stock Firefox tool to display HTML code for the part of the page under the mouse?

Less than month ago, by accident I discovered a nice tool in Firefox that was installed by default. I don't remember the name (probably code inspector or something like that) but I used Ctrl+Shift+I (Tools -> Webdeveloper -> Name of tool) shortcut to run it.
What was the tool? The tool worked such that when you positioned the mouse over some place in the webpage, in the tool's window you would see the HTML code for that place. Now, I my system is updated, and this tool has disappeared from my browser. I'm very disappointed. Anyone know what tool I'm looking for?
Thanks in advance,
Kuba
By the sound of what you are describing it was probably the Web Developer addon, might also have been Firebug (which in my opinion is better).
You can try right clicking on the page element and select "Inspect Element" which will enable element inspection. This will enable you to view the HTML contents of the elements under your mouse.
The name of this tool is: Page Inspector
https://developer.mozilla.org/en-US/docs/Tools/Page_Inspector

Firefox plugin to build custom links for the right click menu

In Firefox, I'd like to be able to highlight a word or number, then right click and have options that would open various custom links such as:
View User Profile -> http://mysite.com/user/HIGHLIGHTEDWORD
View User Admin Page -> http://mysite.com/admin/user.php?user=HIGHLIGHTEDWORD
View Order Page -> http://mysite.com/orderdetailspage.php?order_id=HIGHLIGHTEDWORD
Something like that would save me and my team a lot of time.
Does anyone know is such a plugin exists, and if not what would be involved in developing one?
thanks
This page has some options for Menu customization extensions:
Maybe you could use one of those extensions with keyword searches?
I believe in you!
I know you're trying to save yourself some time with due diligence researching whether it's been done, but with the power of copy and paste, you could "write your own" almost as quickly as asking the question.

Browsing Classes, Objects, etc

Question ONE:
I'm still pretty new to .net, but have used Visual Studio for a few recent projects. I'm now working a new project and I was wondering if visual studio had anything built in that would allow you to browse all of the details about a control, etc..
Is MSDN the best place to go for this?
For instance if I wanted to see of all the methods, properties, etc.. Is there anything inside VS?
Question TWO:
Can anyone recommend, books, resources, that deal specificially with Visual Studio? What each window does, etc.. I have used it enough to complete a few projects, but I haven't seen much in the way of exactly what everything does and why.
Thanks for any suggestions.
Use reflector (it's free!) to get in-depth information about classes etc. Visual studio also has a built-in Object Browser.
P.S. Reflector allows you to reverse engineer assemblies as well, allowing you to view the actual code of a class / method.
P.P.S. Google is still a developer's best friend. Need information on a control, search for it on the web. (Which will lead you to MSDN a lot of the times, but will also get you examples and loads of blog entries).
Question ONE:
You can use the Object Browser (menu View\Object Browser) to see a hierarchical list of all known assemblies, classes, interfaces, enums, etc...
This only gives the signature of each item and not the code.
If you want to see the code, use .Net reflector.
You can also use the Object Browser in Visual Studio. There is usually an icon for it at the top (by the Toolbox, Solution Explorer, etc. icons) or you can navigate to it (View -> Object Browser). When it opens, you will see all of the libraries currently referenced (system and third party) on the left hand side. It's hierarchical, so you can start drilling down. There is a search box at the top, if you want to look for a particular class, method or library. That looks at all the system libraries, not just the ones referenced in your current project.
For more help with the object browser, look here.
Q1:
In Visual Studio:
Above the editor there are 2 dropdown lists:
Left: Shows Classes
Right: Shows Class Members
or Click View > Class View: to see all the classes in the whole solution
I had a similar rub when I started using VS after I had done a lot of Java coding. I was used to the Java API documentation to research properties and such.
I found the VS equivalent IMO, here:
http://msdn.microsoft.com/en-us/library/ms229335.aspx
You can browse every class method, property, constructor, etc. right there. Their examples are decent.
In response to question 1, what I usually do is highlight the bit of framework code I'm interested in and hit F1 to bring up the documentation. For example:
Button myButton = new Button();
If you highlight the first Button and hit F1, you'll get an overview on Buttons in Windows Forms. If you highlight Button() and hit F1 you'll get the documentation on the Button class constructor.
In response to question 2, I'm not sure a book is the answer. I think reading a book on all the components of Visual Studio might be overkill. I'd say to keep on hacking away at your projects and page-fault information in via MSDN, Google, and StackOverflow as you need it. As with any IDE and framework, the more you use it the better you'll get at navigating and learning the ins and outs.

Resources