How can I force a rebuild after saving a design element in XPages? - xpages

This is just one of those things I've put up with ages, but I'd be interested to see if anyone has got a solution to the problem.
At some point during the day (there doesn't seem to be a pattern to it), when I rebuild my application after saving it, the changes will not be evident when testing in the browser. The only way to get them to show up is to issue a "tell http restart" on the server console or to restart the Designer client (which seems to issue a heavier rebuild command somewhere along the line).
Cleaning the project doesn't work either.
It's really just an annoyance, but one I'd love to be able to get rid of.

When it happens to me I remove all compiled stuff from Local->xsp and WebContent->WEB-INF->classes using Navigator view.
Then I run Project->Clean. This helps often.
Restaring designer from time to time is also inevitable :)

Related

How keep tests shortcuts/icons once `auto-run` is switched off from the extension sidebar?

Currently Jest in my VSCode uses the --watch parameter (I use the Orta.vscode-jest extension), which mean when I save a file, it will run all tests in uncommitted files.
It's a good default behavior but sometimes my upcoming commit may imply multiple files and I don't want to waste 75% of my time and resources on tests I don't to focus on.
After reading documentation, I found I can turn off the auto-run (see arrow below), so now when saving nothing happens, and I was expecting a way to trigger manually the test I want.
Unfortunately once done it's like if the extension was totally shut down. See below, I have no longer the ability to run tests through the extension.
Do you know a way to solve this? Keeping icon buttons to trigger manually specific tests?
I saw some homemade solution https://stackoverflow.com/a/55279902/3608410 (see Running a selected Jest test in Visual Studio Code) but I feel it's weird since we have a powerful extension already installed.
(maybe I missed something...)
Thank you,
Didn't see that before but if doing a right click in the test file where needed, in the menu I'm able to run a specific test, handy!

Python IDLE GUI not starting

I feel like I have been coming the internet for days with absolutely no result.
I have taken some web programming classes, and would like to learn some python, just because programming is wicked interesting altogether, and have run into a fairly large hurdle given my experience.
the problem is this: Python.exe (or is is more properly pythonw.exe?) v3.3.3, running on windows 8.1 used to launch fine. Typed up a simple program to roll various sided die, worked out well. Then I changed the key bindings for 'Run Module' from 'ctrl+f5' to 'crtl+alt+spacebar.'
As soon as I did this IDLE crashed and so did the shell. Now the process will not run AT ALL. I cannot access it through the desktop icon to go back and revert the settings. I also attempted to look at the .def files and change it from there but could not find the 'run module' command. It looked like all the key bindings in the .def files were for the shell.
When I double click, nothing, when I run as admin, nothing. run from the start menu, nothing. I uninstalled and re-installed, rebooted, everything low tech I can think of. Now i'm out of my element and could use one of you brilliant social programmers!!
I've found information about checking with some tool called 'Windows Process Manager' some stuff about what to do with the CMD prompt (something about a path problem ...it intuitivly sounds like I very well could have created a 'path problem' but I'm not 100% I know what that is exactly).
I'm sorry for the lack of links, the pages were farther back in my browsing history than I expected. Hopefully i'm not asking an instant many down vote question here, most of the resources online are for either an older version of windows, Lunix, or an older version of python (which is actually where the path problem hint came from)
Thanks any and all greatly for any time spend reading/answering.
Immensely appreciated.
Find file HOME/.idlerc/config-keys.cfg, where on Win7 HOME would be 'C:/Users/yourloginname', and delete the key binding or, if there is nothing else in the file or nothing you want to keep, the whole file.
If you were to run Idle from a console with python -m idlelib, you would probably see an error message. (Yes, you were probably running with pythonw, as when using the start menu or icon. This works better in 3.4.2 and I am working or more improvements.)
I do not know the specific reason for your crash. I set Zoom-height to --space, restarted, and it works, no problem.

Build does not work, need rebuild

This is really frustrating, I am using Visual Studio 2012 for C++ for a project, and it worked fine for a while. Then out of the blue, it started having problems.
The build function does not update the project anymore. I need to do a REBUILD every time I modify anything in my project.
I have looked all over for a solution, but none helped. First of all, I didn't change any settings, but I looked anyway. Tools/Options/Build&Run, Project/Config Manager, you name it I have checked it. It doesn't look like it's a settings problem.
Another thing though, on other forums, I have read that this MIGHT be because of a bad include, that the file included is not there anymore, or something like that. But that is not possible either since I didn't delete any file from the project. But, this problem seems more plausible since, the project at a much earlier stage, had less includes, and it still works.
So, can you help me solve this problem? It is really annoying since most of the solutions out there are NOT working!
Whenever I have run into an issue like this it is usually something like missing project dependencies. You may want to take a look at "Build Solution" not working in Visual C++ anymore. If you are able to share your solution someone may be able to take a look at it.

Dreamweaver Coding Hint won't go away

I've had this issue several times and usually I can just shut down the program and restart it. But this time I have a bunch of windows open and I don't want to restart Dreamweaver.
My problem is that Dreamweaver brought up a code hint, but the code hint box now won't go away. It just sits there floating in the middle of the page. It doesn't matter if I click to Preview or any other tab in Dreamweaver, it still just sits on top of everything.
I'm working on a Mac, Dreamweaver CC (cloud, fully updated). Anyone else have this problem???
This has been a HUGE PAIN for me as well! You can make the code hint disappear though by finishing out an element that is in the code hint box. For instance if the code hint box appears and you can see class in the drop down... create a <div class="xyz"> real quick and the code hit box will dissipate after you close the quotes on the class because you used an element in that box. As to why this continually happens on the Mac version I have no idea, but I hope they fix it soon!
It's a known bug since years as you can read here: https://forums.adobe.com/message/7745689
Someone suggests as a workaround to set the Coding Hint delay to 0 (as said here: https://forums.adobe.com/message/7745689#7745689) but for me, in Dreamweaver CC 2015 Windows fully updated via cloud app, this bug still occurs while I code JS files.
Awaiting for a final fix, I hope this suggestion can be useful for you on Mac. :)

IDE won't let me type what I want

A couple weeks ago my IDE started getting very forceful... Since it's hard to explain what I mean, here is a video:
http://www.youtube.com/watch?v=tNGMlWwmzpg
It lets me do what I want outside of the parenthesis, so maybe it thinks it's bad syntax two put to evaluations inside, but even if that's true, I don't want my IDE restricting what I can type, it should just use intellisense and put the squigglies.
Here are the extensions I have installed (I disabled the one I installed most recently but it didn't help). I've used almost all of these forever without problem...
update: Offered a bounty because this is making me rage. I have disabled ALL extensions and right now I have the following line:
output += "<div title='" + dr("ServiceGroupType_Desc") + "'>" + dr("ServiceGroupType_Desc") + "</div>"""
I cannot delete the two extra quotes at the end. It just won't let me.
I had the same issue as you and had to uninstall the Codealike plugin to get it working again.
Often when things start misbehaving like this, I find one of three things has happened:
1) Somehow a modifier key gets stuck on. Either my keyboard gets weird, or some software glitch happens. Make sure none of your keys are stuck on unexpectedly.
2) Make sure accessibility services are off (or if you use some of them, make sure only the ones you use are on). Some of these can really mess with you if you are not aware they are on.
3) Make sure your keyboard is in the expected region with the expected layout. Sometimes this switches unexpectedly, and starts messing things up, and I won't realize for a long time.
Sorry if that isn't much help, but it is the only things I can think of.
As you've mentioned, "I have disabled ALL extensions", so it should have nothing to do with any plugin.
Start by turn off IntelliSense
Option->Editor->C/C++->turn off IntelliSense with IntelliSense=FALSE
see if the whole auto complete feature is gone.
"I disabled the one I installed most recently but it didn't help"
You have to make sure the extension is not running in the background. If any, kill them as long as it doesn't affect the VS.

Resources