NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Class not found because CSS included via PHP

 
Post new topic   Reply to topic    NetBeans Forums -> Web Client Users
View previous topic :: View next topic  
Author Message
rik_rs



Joined: 16 Oct 2011
Posts: 18

PostPosted: Thu Oct 22, 2015 10:45 am    Post subject: Class not found because CSS included via PHP Reply with quote

Problem: instead of

Code:
<head>
  <link rel="stylesheet" href="main.css">
</head>


I use something like this

Code:
<head>
  <?=COMMON_INC ?>
</head>


because it varies depending on dev/production and CDN or not by config.

This causes Netbeans to complain "Class not found" for tons of bootstrap classes and stuff.

Is there a rem directive to help the IDE in this situation? I mean something like
Code:

<!--
@ide-start
<link rel="stylesheet" href="static/app/css/bootstrap.css">
@ide-end
-->/**

?

Any idea? I can't type statically the paths to these includes.
Back to top
rik_rs



Joined: 16 Oct 2011
Posts: 18

PostPosted: Thu Oct 22, 2015 5:43 pm    Post subject: Reply with quote

Errata Corrige and mitigation factor: the code completion works in any case, then the problem is only about hints complaining "Class not found".
At the moment I've turned off the such kind of hint but I'd like a real solution.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Web Client Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo