Installing sass in Netbeans 8.0.2 - netbeans

I know there are questions like this on SO, but none of the given solutions helped me.
I also tried to ask this question on netbeans forum, but they haven't responded to my questions, probably because they just don't know answers.
SO community is a "bit" bigger than the one on the netbeans forum, so I hope I'll get some clue.
I'm trying to get SASS working in Netbeans 8.0.2 (Ubuntu). I installed sass, it sits in /sur/local/bin/sass. I set up this path in NB options. I set up paths in project properties. And... nothing happens when I save a css file. Shouldn't there be at least a warning message if something's wrong?
Yes, I have "generate extra information (debug)" and "open output on error" checked. The path to the sass executable is also correct.
And yes, I also have "compile Sass files on Save" checked.
In project properties / Input and Output fields I tried relative and full urls. I also tried using ${web.root} variable.
I use Netbeans for PHP, but I don't think it matters.
None of these solutions work for me, especially that most of them is for Windows OS:
How to use SASS with Netbeans 8.0.1
Cannot get SASS to output .css file in Netbeans 8.0
Netbeans - installing SASS
Please help, I've been trying to make it working for the last 4 hours :(
Please tell me at least where can I find an error log or something.
Update:
The log says:
INFO [CPOnSaveHook]: processSavedFile called for Sass type on project
/var/www/html/analytics. INFO
[net.sickill.off.netbeans.NetbeansProject]: fileChanged: ignoring
internal file changes INFO
[org.netbeans.modules.css.prep.process.BaseProcessor]: Not compiling,
file /var/www/html/analytics/src/AppBundle/Resources/scss/admin.scss
not matched within current mappings
[Pair[/var/www/html/analytics/src/AppBundle/Resources/scss,/var/www/html/analytics/web/css]]
But as I said: In project properties / Input and Output fields I tried relative and full urls. I also tried using ${web.root} variable.

I solved my problem.
In the project properties -> css properties -> input/output fields there must not be / (a slash) at the beginning. So it should be e.g. "src/AppBundle/Resources/scss" instead of "/src/AppBundle/Resources/scss" And it should not be a full url (like /var/html/www/project...)
Also, using ${web.root} did not work.

I solved may problem. In project properties -> css prepocessor -> uncheck compile sass files on save:

Related

Visual Studio Code error: "No project found in root directory. Please create a project file and add it to the configuration."

I am setting up VSCode for Ada. I typed in a known good test program and tried to "Run -> Start Debugging". In the PROBLEMS (Crtl+Shift+M) window, a message appears:
"No project found in root directory. Please create a project file and add it to the configuration."
I have read the documentation and looked around in the VSCode editor and have not found anything to correct this error. Can someone provide suggestions? Thanks.
The language extension is looking for a project file (.gpr file). Here are some instructions to set that up: https://github.com/AdaCore/ada_language_server/wiki/Getting-Started
I saw some extra procedures inside the extension itself. There were extra steps to complete the setup. I started Ada programming with a simple text editor and the gnat compiler so these additional steps were not anticipated. Sorry for the trouble.

Problems using netbeans 7.01 with CMake 2.8.6

so once again, I'm having a little problem I can't figure out myself. Meaning, I'm pretty sure I know what the problem is, I just can't fix it.
I'm developing in C++ using Netbeans 7.01 with CMake 2.8.6. However, when I'm trying to build a project, I get the following error from CMake:
CMake Error: The path to the source directory:
H:/Projects/Netbeans/CppApplication_1/CONF=Release
contains unsupported character '='.
Please use a different source directory name.
Please note, that "CONF=Release" isn't a folder. It seems to be a configuration flag set by Netbeans, as it changes when I'm trying a debug build. So, my guess here is, that theres a space missing, or something similar. Unfortunately, I can't figure out where to change that. There are no options in any related Netbeans window, I can't find anything related in the configuration files for netbeans itself or the project either.
Did anyone here have experienced the same problem and found a solution to it? I would be very glad to hear it. If there's any information missing, let me know, I will add them as fast as possible.
Edit:
Just noticed there is already version 7.1 of netbeans, nice to know. However, even with this version, the same problem occurs.
You must specify the command you ran to allow for the error to be identified. However, it looks like you missed the "source-path" parameter.
The cmake command ends with the path to source and should be something like:
cmake -D CONF=Release <path to source>

autocomplete in a file without project in netbeans

Is it possible to activate full autocompletion without having the file added to a project?
Maybe with a plugin or any another modification?
I installed the plugin "remote file systems" for netbeans 6.9.1 (php)
(http://www.stoehrer.net/downloads/remotefs/nb-remotefs-0.1.3.zip) to access my linux server over ssh on my windows machine.
Autocompletion doesn't work with it - the files have to be in a netbeans project :(
I also tried the mounting tool "dokan" but sometimes it destroys a file when I save.
Other mounting tools work less well or just show my home folder.
Sorry for my english and thx for your answer.
coudnt solve the problem that way
so i used samba and add the files to a netbeans project
wasnt easy because for some reason
i have to use the ip path ("\\192.168.xx.xxx" and type my smbuser and the password)
to map the drive in windows
on my other pc i didnt need that. dont know why
bye guys
There is an open bug, or as they have called it, the umbrella issue #135222, to aggregate requests and ideas regarding how to
Improve support for editing files that do not belong to a project.
I have just added the suggestion of somehow allowing to define a classpath for files that don't belong to any project. I hope I can soon update this answer with a "there is a better way..." ;-)

TeXlipse spell-check configuration

I'm turning kind of desperate looking for a way to enable spell checking in TeXlipse. Of the application itself I am very fond. I've tried things I found here and on other forums, and on the user manual (http://texlipse.sourceforge.net/manual/spelling.html), but I can't find clear instructions to configure spell checking, i.e. what path directory to choose, where can I find .dict files,… I mean step-by-step instructions from the beginning to the end. The User Manual entry is too vague for me.
I'm using Mac OS X 10.6.6, Eclipse 3.6.2, TeXlipse 1.4.1.
The answers are in the manual:
http://texlipse.sourceforge.net/manual/spelling.html
Get the dictionaries here: sourceforge page
Save them wherever you want. Could be /Users/your_name/documents/dictionaries, for example.
Enable 'Use built in spell checker' in the Texlipse options in eclipse.
Set both directories to whatever you used above.
Enable eclipse's own spellchecker, if it isn't already.
Restart the IDE.
I had a little trouble getting it to work nicely; I keep getting the following error message in the console. There are about 10 posts on the texlipse forum about it with no answers, so presumably it's not a big deal.
running: null
Error running spell checker
Make sure that you set the language for the project under
Properties > Latex Project Properties > Language setting to "en"
after telling it to use the built in spell checker in
Preferences > Texlipse
For me, it turned out to be related to file extensions. I pointed the texlipse spell checker to the same directory that eclipse stores its dictionaries and it didn't work. Then I made my own directory and generated my own dictionary using aspell (as mentioned in the texlipse FAQ), but this time I used a simple "dict" extension instead of the "dictionary" as in the Eclipse installation and it worked.

No autocompletion on Eclipse(Helios)

I'm having a problem with the autocomplete option in Eclipse (Helios).
I've already checked Windows->Preferences->PHP->Editor->Content Assist and everything seems to be correct there.
And when I do get completions when I write "self::" in any of my classes, but this is the only situation I get it.
For example..
"parent::"
or
"$this->"..
Don't work at all.. any ideas?
Btw, I'm working under Lunix, Ubuntu 10.10
Thanks in advance.
A few things to check:
1) .project file contains:
<nature>org.eclipse.php.core.PHPNature</nature>
2) .buildpath contains:
<buildpathentry kind="con" path="org.eclipse.php.core.LANGUAGE"/>
3) Right-click project and go to Configure -> Add PHP Support
4) Are you using a namespace in your code? If so, does completion work without a namespace i.e. in a global namespace
I can also see quite a few open issues in bugzilla related to code completion in PDT. Take a look.
Since it seems that yoy've already tried the basic solutions that are documented across the web (phpnature, add php support, buildpath, etc.) it's probably best to look at the logs and provide any error that occurs when you try to call auto-completion.
You can "tail" the log and check if anything appears when asking for an autocomplete (press Ctrl+Space after writing "$this->" inside a method of a class):
tail myWorkspace/.metadata/.log -f
The error that appears may be usefull for searching google or for including here for others to help!
Seems like updating Eclipse to Build id: 20100917-0705 solved this issue.
If you just upgrade eclipse you should rename/remove workspace/.metadata
some times there is compatibility issues...