How do I remove "Use Directory" message from ReSharper - asp.net

I just started a MVC3 Razor application and started typing out in one of the .cshtml files and I added an a tag with href, when I entered the location it keeps telling me to use a directory that it wants me to use. I cannot get rid of this and it is always visible.
Does anyone know what this feature is called and how to disable it either permanently or for certain files, either way is good. I tried looking through the options but with no luck.
Image:

Go to ReSharper > Options > Code Inspection > Inspection Severity
Search for "path error" inspection
Set inspection severity to "Do not show"

This is a new feature for Resharper 6. I recently uninstalled it (rolled back to old) as it was causing 'out-of-memory' exceptions for me.
So, it may not be 100% on the spot but I think the feature you're looking for should be under Coding Assistance | Code Completion.
If you cannot customize that specific option (which I think you can't) then the other option is turn off the whole Code Analysis thing.
IF this doesn't solve your problem, I'll try to find you an exact answer later.

Related

The type or namespace name 'FaceBookClient' could not be found

None of the other questions regarding this question were able to answer this. I am new to programming, and I am just trying to add a FacebookLogin option to the website.
I built all the Javascript they wanted, and there is no error there(I don't think). In the interest of saving time, and that I am working on multiple computers. I am going to post pictures of all the code. I have added excess using statements to try and get the reference.
http://imgur.com/a/2wCyf
If you need anymore information let me know. And I will edit this page.
it looks like you just have some simple issues to fix in your IDE/project. The below instructions are for Visual Studio, but can be slightly altered for other IDEs.
First, make sure you have a reference to the Facebook SDK for .NET (I'm assuming you're using Outercurve's library from the looks of it):
In Visual Studio, check in the Solution Explorer window, then expand the "References", and make sure you see it there.
If it's not there, right-click "References", then "Manage Nuget Packages". When the Packages screen pops up, ensure in the left-pane that you have "Online -> nuget.org" selected. In the top right of the Packages window, in the "Search Online" textbox, enter:
facebook sdk and press "enter". On my screen, it's the second search result. To ensure you have the correct one, ensure that the "Created by" field says "Outercurve Foundation" before you accept it. Once you know you have the right package, hit the "Install" button, and it will be added to your project.
Once you have verified you have the correct reference, if you are still having the issue, make sure you have a "using" statement in your class file, to ensure library types you are using are recognized. In this example, I believe that would be:
using Facebook;
From the images of code you provided, I didn't see that statement in there, so that may be the problem, if this is fact the library you are referencing.
I am new to this type of application but what I found that is:
Use Facebook.FacebookClient instead of FacebookClient.

Adobe Brackets 0.41 - CSS auto-completion error while in Live Preview

When:
Live Preview is running
I'm writing CSS
& I hit Enter to use an auto-completion recommendation
Then:
The auto-completion occurs
The cursor skips down a line & indents
I usually work around this annoying cursor movement by closing Live Preview, but I'd really rather not. Is this a bug or am I missing something? How can I fix it to where it just simply fills in the auto-completion recommendation?
Thanks!
Brackets 0.41
Windows 7
Brackets doesn't normally behave this way - you may have an extension installed that's causing trouble. Try using Debug > Reload Without Extensions and see if the problem still happens. If that fixes it, you can systematically disable individual extensions until you find which one was causing the problem. I believe the "Emmet" extension has caused some similar issues in the past, so that might be a good one to check first.
Once you know which extension causes the problem, I can walk you though filing a bug with the extension's author so it can be fixed.
If you're seeing the issue even after Debug > Reload Without Extensions, then it would be good to get more specific with the steps that trigger the problem. For example:
Open the default "Getting Started" project and open its main.css file
Start Live Preview
Add a new line to the end of the body rule
Type font-w and press Enter
type b and press Enter
When I do these steps, no extra newline is inserted. What steps should I use instead to see the problem?
I found this as I was experiencing the exact same issue. Try disabling any scripts called in your html one by one to see if it goes away. My issue was a script I was loading from a Wu

qt creator unwanted disassembly

I had this very annoying problem that while debugging, suddenly it started to show the disassembled code rather than the C++ code, via google I found several with the same problem, and a suggested weird solution here which I'm not sure how to interpret. I tried things similar to that post and found a solution:
Shut down and restart QT Creator
In left-hand tab "Projects", untick then re-tick "Shadow build"
Seems like voodoo right? But I noticed that step 1 clears all breakpoints, and step 2 temporarily changes some paths after which it says "evaluating" for a second in the lower right corner. So perhaps it's not as weird as it sounds, apparently a few things are cleared during this process.
I don't think I'm supposed to write answers to my own problems here but I thought it would be a waste not to post this solution to this very annoying problem that apparently more than I have encountered. The next guy hopefully finds my post.
I cant post links to others with similar problems since I need a higher reputation then.. :-/
It probably helps if you uncheck options to break debugging on Thread creation and Thread exit if you have these options checked for the Debugger. These options will certainly pop the disassembler view up when you start debugging even if you haven't set any Breakpoints in your code. You find these options in menu Tools/Debugger/CDB. If you want to break on C++ exceptions leave that option checked, otherwise uncheck that too.

Aptana Studio 3 Not Showing Themes

So I recently moved all of the files that I want to keep onto a secondary hard drive in my laptop. This also included the workspace I use for Aptana Studio 3. As a result, there was a particular file that I had to delete and let the program recreate just to get the program to start up as well as re-import the projects I was working with.
The issue now, though, is that I cannot change or even bring up the themes in the preferences editor. When I first go to Window > Preferences > Aptana Studio > Themes, I get a message that reads:
The currently displayed page contains invalid values.
and doesn't show anything. On the rare occurrences that I AM able to get that particular window to show up, there's nothing there except an empty drop down menu. Anyone have any ideas on how to correct this? Thanks.
P.S. YES, I have Googled it and hence, since I didn't find anything, I'm asking the question here.
got this answer from another post...
I got the same problem. After updating Aptana to 3.5, whenever I looked at the themes settings, it crashed down saying.
"the currently displayed page contains invalid values"
Probably the new update has its own bugs for some reason.
the only way to fix the problem is to downgrade the version of Aptana studio.
https://wiki.appcelerator.org/display/tis/Reverting+to+a+Previous+Version#RevertingtoaPreviousVersion-AptanaStudio3.4.1
just Download 3.4.1 version and all things gonna be ok.
Add Eclipse Themes from http://eclipsecolorthemes.org/?view=plugin
Details to add themes on this post.
Edit: This does not seem to work :( only the bg changes. I never noticed that the font colors never changed. Have to wait for patches I guess. Don't want to downgrade though :-|

ASP.NET: The breakpoint will not currently be hit. No symbols have been loaded for this document

I was having this issue for several days. I finally figured out a fix for ASP.NET programmers, and I figured I would share.
Problem
After setting a breakpoint, and then debugging my breakpoint would turn yellow with an exclamation point. When hovering over the breakpoint it would say "The breakpoint will not currently be hit. No symbols have been loaded for this document.”. I tried cleaning, rebuilding, changing various settings through my project and visual studio. Nothing worked.
Solution
I was digging around in the Solution settings. I noticed that under "Web" tab my Start Action setting was set to something other than "Current Page". After setting it back to current page everything worked out.
I hope this solves the issue for other's like me that were exhausted after trying every other suggestion/answer they could find on the internet.
The issue only happens to me on ASP.Net Projects
Right Click the Web Project
Select Property Pages
Start Options
Make sure Use current page is selected (as shown below)
This happens because your project still has errors, so run the last correct version.
Correct your mistakes, surely it is the error "CodeBehind" change it to "CodeFile" and surely the errors disappear, you can return project run without errors.

Resources