Support of Visual Studio 2010

Apr 20, 2010 at 7:24 AM

Hi!

Are you going to extend your addin so that it work in Visual Studio 2010?

Mikhail.

Coordinator
Apr 22, 2010 at 12:37 PM

Until today, I didn't have any VS2010, so I might be able to port the plugin under VS2010.

 

Coordinator
May 17, 2010 at 11:23 PM

NShader 1.1 is running under Visual Studio 2010

 

May 23, 2010 at 3:04 PM

Thank you.

Jun 1, 2010 at 7:35 AM
Edited Jun 1, 2010 at 7:42 AM

Hi,

thanks for the great work.... Could you elaborate which colors in the fonts&colors dialog are used for which primitive in the shader code?

 

Could you add .glslf, .glslv, .glslg, .glsle and .glslc to the file extensions?

Also could you include the OpenGL 4.0 keywords i attached to the post?

Edit: I tried to load the source project into Visual Studio 2010 but got an error that the NShaderVS2010.csproj is no valid project. How can i compile the plugin from source? The error says that the project type is not supported by the installation.

 

Big Thanks and regards

-chris

 

 

#define
#undef
#if
#ifdef
#ifndef
#else
#elif
#endif
#error
#pragma
#extension
#version
#line

attribute
const
uniform
varying
layout
centroid
flat
smooth
noperspective
patch
sample
break
continue
do
for
foreach
while
switch
case
default
if
else
subroutine
in
out
inout
float
double
int
void
bool
true
false
invariant
discard
return
mat2
mat3
mat4
dmat2
dmat3
dmat4
mat2x2
mat2x3
mat2x4
dmat2x2
dmat2x3
dmat2x4
mat3x2
mat3x3
mat3x4
dmat3x2
dmat3x3
dmat3x4
mat4x2
mat4x3
mat4x4
dmat4x2
dmat4x3
dmat4x4
vec2
vec3
vec4
ivec2
ivec3
ivec4
bvec2
bvec3
bvec4
dvec2
dvec3
dvec4
uint
uvec2
uvec3
uvec4
lowp
mediump
highp
precision
sampler1D
sampler2D
sampler3D
samplerCube
sampler1DShadow
sampler2DShadow
samplerCubeShadow
sampler1DArray
sampler2DArray
sampler1DArrayShadow
sampler2DArrayShadow
isampler1D
isampler2D
isampler3D
isamplerCube
isampler1DArray
isampler2DArray
usampler1D
usampler2D
usampler3D
usamplerCube
usampler1DArray
usampler2DArray
sampler2DRect
sampler2DRectShadow
isampler2DRect
usampler2DRect
samplerBuffer
isamplerBuffer
usamplerBuffer
sampler2DMS
isampler2DMS
usampler2DMS
sampler2DMSArray
isampler2DMSArray
usampler2DMSArray
samplerCubeArray
samplerCubeArrayShadow
isamplerCubeArray
usamplerCubeArray
struct

common
partition
active
asm
class
union
enum
typedef
template
this
packed
goto
inline
noinline
volatile
public
static
extern
external
interface
long
short
half
fixed
unsigned
superp
input
output
hvec2
hvec3
hvec4
fvec2
fvec3
fvec4
sampler3DRect
filter
sizeof
cast
namespace
using
row_major



 

Coordinator
Jun 2, 2010 at 12:42 PM
chris_lux wrote:

Hi,

thanks for the great work.... Could you elaborate which colors in the fonts&colors dialog are used for which primitive in the shader code?

Could you add .glslf, .glslv, .glslg, .glsle and .glslc to the file extensions?

Also could you include the OpenGL 4.0 keywords i attached to the post?

Edit: I tried to load the source project into Visual Studio 2010 but got an error that the NShaderVS2010.csproj is no valid project. How can i compile the plugin from source? The error says that the project type is not supported by the installation.

1) For Font&Colors there is a bug in the 2010 version. NShader colors are not displayed in the dialog. I'll try to see if It can be fixed.

2) For new extensions, I will integrate a custom window in order to do it directly from VS.

3) Yep, thanks for GL4.0 keywords, It will be integrated as well.

And in order to open the NShaderVS2010 project, have you already installed the Visual Studio SDK 2010?

Jun 3, 2010 at 12:34 PM
Edited Jun 3, 2010 at 12:35 PM
Hi Alexandre, i got around the bug with the color selection by deleting the fonts&colors cache in the registry. For the new extensions maybe it is possible to extend the dialog (Options->Text Editor->File Extension) with the shader language type, so users could add the wanted extensions in this dialog like other extensions to other languages. Thanks and regards -chris
Aug 5, 2010 at 8:45 AM

Hi,

I just wanted to ask if you got around to implement the custom file extension feature?

 

Regards

-chris

Coordinator
Aug 11, 2010 at 10:17 AM
Anyway, I do plan to work on file extension feature but in a new highlighter plugin that will provide more flexibility to add new file extensions, new keywords, and manage several languages. Basically, I'm also maintaining AsmHighligter, another syntax highlighting system for asm x86 language, that is logically sharing 95% of code with NShader, and It's a pain to maintain both plugins, as they require almost the same capabilities... Stay tuned. I'm going to see if this can be done in the next days.
Aug 17, 2010 at 9:02 AM
sound exciting. will it be released on this site or somewhere else. i just want to be sure not to miss it. regards -chris
Coordinator
Aug 17, 2010 at 11:01 AM

The new highlighter will be released on a new project under codeplex. Migration will just be a matter of desinstalling NShader and install the new plugin. NShader home page will advise newcomers to go to the new plugin.