Coder Social home page Coder Social logo

codeeditlanguages's People

Contributors

ahattalla avatar austincondiff avatar bishabosha avatar bombardier200 avatar cengelbart39 avatar cubik65536 avatar fdgogogo avatar lukepistrol avatar thecoolwinter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

codeeditlanguages's Issues

✨ shtml support

Description

Currently html and htm files are correctly identified and syntax highlighting is applied. This is unfortunately not the case for .shtml files. Please add support for sthml files.

support for rust language highlighting

Is your feature request related to a problem? Please describe.

support for a very popular language

Describe the solution you'd like

Rust as the most loved language since 2020, widely used. Add language source for Rust will be very useful, it was considered a good replacement for C++

Describe alternatives you've considered

nothing, check the Lapce editor (https://lapce.dev)

Additional context

no

Syntax Highlighting missing for some file extensions.

I found out that some languages are not fully supported. For example, Java source code has two extensions: .jav (which is not that commonly used but is the default for CodeEdit) and .java. And it seems that the .jav files are not supported by the Syntax Highlighting feature.

🐞 Files with extension `.mjs` not JavaScript syntax highlighted

Description

Files with the .mjs file extension are currently incorrectly not JavaScript syntax highlighted. .mjs is the file extension to use for ECMAScript modules, and is technically important for much of the JS ecosystem of runtimes and tooling including Node.js and TypeScript.

I haven't tested the TypeScript file extensions .mjs and .cts in the editor, but chances are they also have the same bug if .mjs was forgotten.

To Reproduce

  1. Make a new file demo.mjs.
  2. Add to it const a = true;.
  3. πŸ‘€ look at it and see no JavaScript syntax highlighting.

Expected Behavior

.mjs files are syntax highlighted as JavaScript.

Version Information

CodeEdit: 0.0.3-alpha (36)
macOS: 13.4 (22F66)
Xcode: N/A

Additional Context

No response

Screenshots

Screenshot 2023-09-24 at 9 01 43 am

πŸ‘€ Missing Languages

There are several language grammars available for tree-sitter. Checked items have SPM already implemented.

Supported languages

See the following section in the README:

Important to know is that some language grammars depend on another grammar to function properly (e.g.: C++ depends on the C grammar). Therefore the highlights.scm files need to be concatenated when run.

This can also happen when there are different flavors available (e.g: JavaScript & JSX). In this case there is an additional highlights-jsx.scm file located in the JavaScript's grammar queries folder.

Add new Languages

In order to make it a little easier to add SPM support to grammars, I wrote an article in the documentation: Add languages

🐞 Bad Bundle and CFBundleExecutable

Description

I am having problems when trying to export, sign or upload to TestFlight my application

To Reproduce

  1. Archive Project
  2. Try to Validate or Submit to TestFlight

Expected Behavior

I am not sure what is the problem. Not an expert. I don't know if I am missing something obvious.
Appreciate the help :)

Version Information

CodeEditSourceEditor: [0.7.2]
macOS: [e.g. 14.4.1]
Xcode: [e.g. 15.2]

Additional Context

No response

Screenshots

Screenshot 2024-04-26 at 12 19 27β€―PM Screenshot 2024-04-26 at 12 26 37β€―PM

🐞 Detect File Language Via shebang

Description

When I open a file in the editor, there is no syntax highlighting. Everything is black. Furthermore, the right-hand panel says the file is of type β€œSwift Source.” That is incorrect; the file is Python, as can be identified by the shebang statement on the first line. (I don’t know if CodeEdit looks for these, however.) The file has no extension.

When I change the editor type to Python manually, nothing happens. The text is still all black.

To Reproduce

  1. Clone stevenshiau/clonezilla and open it in CodeEdit
  2. Select the file bin/gen-torrent-from-ptcl in the file browser
  3. Observe the black text

Expected Behavior

Bright and informative colors.

Version Information

CodeEdit: 0.0.3-alpha (32)
macOS: 13.4 (22F66)
Xcode: 15.0 (15A5160n)

Additional Context

I do not know if CodeEdit is smart enough to look the shebang line of a file to detect which syntax highlighter should be used. (CotEdit and other editors can do this.) If not, it should be.

Furthermore, if the file type truly cannot be determined, the default should be plain text.

Screenshots

Screenshot 2023-06-09 at 5 27 35 PM

✨ <Dart support please>

Description

Will this project support Dart language?
Thanks.

Alternatives Considered

No response

Additional Context

No response

Screenshots

No response

🐞 [DocC]: Documentation Not Generated

The documentation of CodeEditLanguages is not generated properly. Not locally and not on our CI. Using Xcode to build it works though.

Terminal command

swift package --allow-writing-to-directory ./docs generate-documentation --target CodeEditLanguages --output-path ./docs --hosting-base-path CodeEditLanguages --disable-indexing --transform-for-static-hosting

Expected Result

After completion a docs directory should be created. Inside this folder a directory called documentation should be created.

Actual Result

There is a docs directory.
There is NO documentation directory inside.

Sass and pug support

Description

Please add support for languages sass and pug

Alternatives Considered

No response

Additional Context

No response

Screenshots

No response

✨Why only for macOS platform

Description

It should also be available for iOS.

Alternatives Considered

No response

Additional Context

No response

Screenshots

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.