processing / processing/processing4

"Problem with rename: .glsl is not a valid extension" when creating a new tab for shader code

未关闭
#735 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Java
星标
494
派生
183
平均合并
4 小时 39 分钟
30 天内合并 PR
3

描述

Created by: ranaaditya

Description

Hi, I am trying to make a skecth with fragmetn and vertex shaders, but on creating new file I am getting ".glsl is not a valid extension". It worked fine for Older version of Processing.

Any possible help is appriciable !

Expected Behavior

Expected behavior is to create file with glsl extension

Current Behavior

not creating file instead showing error in creating glsl file

Steps to Reproduce

  1. open PDE in MacOS (Processing 4.2)
  2. create new tab -> file_name.glsl
  3. There you go

Your Environment

  • Processing version: Processing 4.2
  • Operating System and OS version: MacOS Venture 13.4
  • Other information:

Possible Causes / Solutions

Not sure maybe some API change in macos in processing (maybe I am not up to date with latest changes)

Screenshot 2023-06-19 at 8 58 40 PM

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 PDE 的新标签页处理开始,在 macOS 上使用以 .glsl 结尾的文件名重现 Processing 4.2 中的错误。跟踪请求的扩展名是如何验证的,然后确认创建 .glsl 标签页能够成功,且不会出现扩展名无效消息。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
desktop
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。