Working with Komodo 8.5.x , how does one use "Code Browser" for open files ?
I get an error that says something like:
"Could not find a node corresponding to the scope at filename.js##### in the Code Browser".
Just figured it out.
The files have to be opened via the 'Places' button in the left pane (default position).
-Then Classes, Variables, and Events are listed in series ( at least for Javascript ) in the 'Code Browser' pane.
Related
I have cygwin installed on my new Windows-10 PC and I have a file "foo.bash" on my desktop that I need to be able to double-click on and have c:\cygwin64\bin\bash.exec open it (foo.bash is a shell script being interpreted by bash.exe). On my previous PCs I simply double-clicked the program, browsed til I found/selected bash.exe, clicked the "always use this app" button and from then on double-clicking on foo.bash would always open it using bash.exe.
On my new Windows 10 laptop I initially had the same experience but then after a couple of days I created a file named "bar.bash" and was surprised to get prompted for what type of app to open it with. bash.exe was listed so I selected that, clicked the "always open with" again and that was fine but then when I had to open it again later I found that the "always open with" hadn't stuck. So I repeated and could not get Windows to remember to open that ".bash" extension file bar.bash with "bash.exe"
So I went back and double clicked on the original "foo.bash" and it opened with bash.exe. I tried changing it's "open with" to Notepad to see if that would stick and it didn't AND then I found I could no longer get bash.exe to stick either.
So now every time I double-click on a file with a ".bash" extension I have to click on bash.exe to open it. I have tried associating the extension with the app from the file properties, from the Settings menu, and everywhere else that any web page I can find tells me will work and none of them work - I 100% CANNOT get Windows 10 to remember to open ".bash" files with "bash.exe".
I also followed the steps at https://www.winhelponline.com/blog/remove-file-association-windows/ to delete the references to a ".bash" extension from the registry and that changed the popup prompt for which app to open the file with but after once again selecting bash.exe and "always open with", I was back once again to having to repeat the process every time I open the file.
Does anyone have any real ideas on how to do this? I assume it'll involve some arcane procedure to edit registry entries or something else that I REALLY don't want to be messing with but I've exhausted all of the "normal" ways that this should work from a user perspective.
Eureka! In a flash of inspiration I restarted Windows in Safe Mode (a chore in itself these days - see https://www.digitalcitizen.life/4-ways-boot-safe-mode-windows-10) and then right-clicked on foo.bash, searched for bash.exe again, selected it and now after rebooting back out of safe mode the association with "bash.exe" is still in place for all my ".bash" files.
So the trick is - go into safe mode to permanently associate the file suffix with the app.
With Windows 7 I could easily use the Open With context menu to add a new program which would thereafter appear in the Open With menu (I can't remember the exact sequence, but it was easy and worked fine). However I have now upgraded to Windows 10. The programs that I associated with my particular file extension in W7 still appear in the Open With menu in W10. If I want to add another one I select "Choose Another App". However, any app I add with W10 does not appear in the Open With menu - I have to select Choose Another App every time to get to it. I now have two lists of available apps, one in Open With (the ones I set up with W7) and one in Open With | Choose Another App (the ones I set up with W10). It's not exactly a show stopper but it's irritating. Does anyone know what this is all about and how I can get the apps into the main Open With menu?
The reason why it doesn't appear in "Open with" menu is most likely because application's VERSIONINFO is not properly filled out with all the relevant details. If you are application developer you should create VERSIONINFO resource as clarified here:
https://learn.microsoft.com/en-us/windows/win32/menurc/versioninfo-resource
If you are not the developer, then you can still fix this by editing registry - see here:
https://superuser.com/questions/1199648/strange-open-with-list-inconsistent-with-registry/1256482#1256482
Basically under the registry key: Computer\HKEY_CLASSES_ROOT\Local Settings\Software\Microsoft\Windows\Shell\MuiCache there should be 2 keys for YourExampleApp:
One that ends with .FriendlyAppName
One that ends with .ApplicationCompany
For example:
C:\Program Files (x86)\ExampleApp\YourExampleApp.exe.FriendlyAppName
C:\Program Files (x86)\ExampleApp\YourExampleApp.exe.ApplicationCompany
Most likely one of these 2 is missing which causes the application to be dropped out of the "Open with" menu.
The MuiCache list is cached from the properties of the application's VERSIONINFO resource embedded in the application, so if such resource is missing from the application, some items may be missing from the cache as well. For more details have a look at the above references.
Coder12345 had the correct answer for me, thanks a ton! I would like to expand on it briefly; I wanted Shotcut to appear in the first open with... context menu. I had to add the registry entry for ApplicationCompany. It appears that it doesn't matter what you put for the value of that key, just as long as it's there. No restart of file explorer was required, the change takes place immediately.
Also, the FriendlyAppName changes what text appears in the open with submenu. Shotcut appeared as shotcut.exe so I changed it to just Shotcut.
I use a program called Spec2xlS together with Excel 2013. When I import files to Excel using this program plug-in, the "Open" explorer always has the first alphabetical file extension selected in view, which I never use. It is annoying to always need to change it, especially if I pull up 50 files in a day. Is there any way I can change this default selection to the file type I actually need?
Thank you.
To do this in Windows 8.1, search for "default programs" on the Start screen and click or tap "Default Programs."
I have a problem with Domino Designer since the problem occurs not only in existing xpage and databases, it also happens in newly created databasen and xpages as well as custom controls.
The problem is that when I try to open an xpage or custom control, I will not se any code, or anything but an emppty blank page under the toolbars.
First I thought it could be my screen, then I thought it could be an configuration problem so I reconfigured the notes client and tried again, then I check if I could open the custom controls with the xml editor instead of the xsp editor, and that worked, but I want the xsp editor back.
What is this, a blank page, it seems that it could not render properly, because if I use my keyboard and pressing the space bar, then it ask me if I want to save the changes when closing the custom control by the esc.
Do I have to re-install the client? Or does it exist any configurations for the xsp editor I miss?
BTW, It happens the other day, and when I re-configured my installation it worked, but this time it does not.
Are you looking at the design pane and not the source pane? At the bottom of the blank page, above the properties area there are two tabs, click on the "source" tab.
If that's not the issue, I'm not sure what's going wrong
I did not have time to investigate any further, it must have been the render function of the XSP Editor that was corrupt, stopped working and I re-installed the Notes and Designer and then I could continue working. No problems in my code. :-)
Is there a way to change the color of a tab (in the tab bar) according to the path of the file?
I tried with the PythonScript plugin, but couldn't find a method to change the color of a tab.
I need this because I edit scripts from two environments at the same time, from a LIVE environment, and from a development environment, and I need to be extra careful when editing a LIVE file.
I was looking for a programmatic way to change the color of the tabs, and reviewed the online documentation of Notepad++ but did not find anything about it. So, instead, I propose the following method for your case, it could be helpful to always know which of your files are from the development environment and which from the live environment:
Open a blank instance of Notepad++:
Now start a macro recording: Press Start Recording button on Notepad++ toolbar:
Open a new document
Now you'll have two open blank tabs.
Right click newly open tab and click in option Move to other view from contextual menu
You'll have a window splitted vertically and your two tabs will be displayed next to each other. You'll use these two tabs as separated "containers" for your files
Press Stop Recording button:
Save your just recorded macro:
assign a keyboard shortcut:
Now you can run that recorded macro (from Macro menu, or invoking keyboard shortcut you assigned), every time you want to work on your two environments.
(Optional) Right click vertical separator between "containers" and click Rotate to right
Now your "containers" will be split horizontally and will be displayed one above the other. Personally, I'd recommend you this layout.
Click on the tab at first "container" and from there, open all your "dev" environment files; and analogously open all your "live" environment files from second "container". Note that currently selected container has a more intensely coloured active tab.
If you notice that your working space is small, drag the separator to increase your current "container" size, but I recommend you not to take it completely towards the end, because it will make difficult to differentiate which of the two "containers" you are working on.
Note: If you, mistakenly opened a file of an environment from the wrong "container" you'll always be able to fix that by dragging the tab and dropping it to the other "container":
So you'll always keep control of what files must be on each container.
That's it. I hope this info will be helpful for you.
About changing the color of the tab (not folder specific).
Notepad++ has a file called stylers.xml, located in the roaming folder or in the program folder. It also depends in the installation & windows version. If it does not exists then it is self generated.
At the very end of the file, it says
<WidgetStyle name="Inactive tabs" styleID="0" fgColor="xxxxx" bgColor="xxxxxx" />
And here it is possible to change the color of the inactive tab.
However, it does not work, it is a bug that has been "fixed" countless of times in the past. To the date, the current version 6.2.3 UNICODE, changing the values does nothing.
So far, editing the stylers.xml:
6.2.3 = does nothing
design guideline, gray + gray = not good.
6.2.0 = does nothing
6.1.8 = works.
Nice contrast
6.1 = works.
5.9.8 = works.
5.7 = edit works.
ps: sadly,it is not possible to change the fonts of the tabs.
Wanted to add this as a comment, the button's not there.
You can solve your actual problem by using multiple instances of notepad++, refer this. You can save different sessions and optionally use the "Open File In Solution (OFIS)" plug-in.
I've if you've picked a different Style like 'Black Board', then you will have to change these setting in it's .XML in '/themes', and these setting are found at the bottom of the file.