What is the purpose of faded text in VS code? - visual-studio-code

In VS code (for my Javascript file), the text sometimes fades when I edit my code. Does anyone know what this means? I have researched it online, but can't find its purpose. I know arguments and variables in functions fade out until they are written in the function, but I haven't seen it before for entire functions.
I've included all my installed extensions in the picture in case one of these is doing the fade. I can also include all my code if I did not provide enough information. Thank you!
Edit: to clarify, the faded text I am speaking of is the entire function placeInTable(y,x) I am not speaking of the commented code.

EDIT: answered about the commented part first, not reading the entire question
The function is faded because it hasn't been called, so no actions inside it have been executed.

Related

Python class/method comment and intellisense

I have seen that the comments I write at the top of my Python methods and and classes is the same text that pops up when I am using them in my code. I have also seen that some formatting hints can be made in the comments, and that will translate into pretty rendering in the popup text (for instance, putting a bunch of "-"'s under a heading makes the font bigger and bolder). What other formatting is there and what are the hints? Specifically, is there "code" formatting that renders in monospace? I like to put code samples in my comments sometimes and that would look great.
Finally, does this all have a name? I tried googling what I was trying to do and it was hard because I didn't know what it was called.

VS Code cursor jumps before I can type input in the field

I use HTML, CSS, and JavaScript mostly as I'm new to frontend development. The cursor is driving me crazy every time I am using VS code. I have disabled my format Pettier and JS-CSS-HTML and it still moves around. I am so confused and have tried multiple "solutions" of which none have worked. I'm sure it's a setting but I can't seem to find it. I wanted to put a video so someone could see the problem but can't only screen shots which I don't think will help. Let's take CSS => When I type #title-container {} the cursor just jumps out of the input brackets. Also the cursor won't let me add extra lines and returns the line after, back before I even get a chance to type anything.
Hopefully you understand this....

Explanation of JavaFX Table View Cell Renderer?

I am very curious about an example that I am trying to imitate in my own code. My own code isn't working yet and I'm confident that it is because I don't understand the example very completely. Unfortunately, the person who prepared the example didn't bother to explain it in much detail either. I was wondering if someone could walk me through each of the three classes - especially the part in Main.java that involves setCellFactory() and setCellValueFactory() - line by line and explain what exactly is going on?
This is a link to the example:JavaFX8 – Render a DatePicker Cell in a TableView
The code clearly works as it is; I've run it myself and satisfied myself that it works. I've run it in Debug mode of Eclipse also but don't really understand what I'm seeing. I was hoping someone could explain it line by line. With a bit of luck, that will "make the penny drop" so that I can see what I am doing wrong.
Or can someone suggest a better approach to understanding why the example works but my code doesn't?

Access Pop Up Form Background Garbled/Distorted When Opened via OpenForm Macro Action with Window Mode Normal

I have a database that I work on using Access 2013, though I must maintain compatibility with Access 2010; I am using Windows 7.
I have an input form that is set to Pop Up = Yes, and Modal = No. When opening this input form directly from the Navigation Pane, it functions perfectly normally.
I have a macro in a search form that calls up this input form with the specified record using the "OpenForm" action. When opening the input form with this macro, the form's background is totally garbled (it pulls the background image from whatever was behind it when called, as though it were transparent), and all labels are unreadable.
That said, if I run the macro again by trying to open a different record, the form then appears correctly until it is closed. Also, if I change the "Window Mode" in the "OpenForm" action to "Dialog" rather than "Normal," it appears correctly.
Neither of these are valid solutions, though -- it should work on the first time, and I do not want the form to be modal. All my code seems okay (insomuch as I am not receiving error messages), so I don't understand why it would be doing this... any guidance is very much appreciated.
I have discovered what is causing this problem, though I don't understand why.
The macro I am using came from a sample database, and has some commands I am not fully familiar with. One such command is "Requery."
I experimented with removing various parts of the macro with the window mode as "Normal" for the "OpenForm" command. As soon as I tried removing "Requery" (and nothing else) the window opened in "Normal" mode with no distortion whatsoever.
In short, having "Requery" in the macro was what was causing this error to occur. It seems like an innocuous enough action (all it does is refresh data, from what I understand, as described here: https://msdn.microsoft.com/en-us/library/bb177360(v=office.12).aspx), but since I don't see why its inclusion was necessary anyway (if anyone could shed some light on that, it would be appreciated), it looks like this is essentially solved.
I hope this may help someone else in the future!

Help needed with farbtastic color picker. Simple example html included

I've included a very simple html example that almost works. It is a very plain implementation of this great color picker. But it doesn't quite work as advertised. I only get a single blue box and I can pick blue shades. But not the gradient or the outer ring.
Wait! I just realized that the outer ring is there, and I can change the colors with it. But its invisible! Weird....
Can anybody show me how to get the whole thing to work?
http://bizzocall.com/farbPicker.html
Thanks in advance!
the images for it are not pointing to the correct uri. http://bizzocall.com/css/marker.png returns a 404; point your images to the correct file and you should be straight
I have the farbtastic color picker working really well now. Just for those of you who want an example to take apart and look at, here's a link. The sytax of how the farbtastic function is called to send the color to numerous items on the page is the tricky part. But, its working here. Just look at the source...
http://bizzocall.com/cp-BizzoActiveButton.php