xulihang Well-Known Member Licensed User Longtime User Sep 4, 2024 #1 I just found that B4X is recognized as a language on GitHub. Cool. Add B4X by DecimalTurn · Pull Request #6965 · github-linguist/linguist Description Closes #6944 Notes on the regex used: (?:.*(?:\r?\n|\r)){0,9} is used to limit our search to the first 10 lines. \A\W{0,3} is there in case the file has the UTF-8 BOM which is represen... github.com
I just found that B4X is recognized as a language on GitHub. Cool. Add B4X by DecimalTurn · Pull Request #6965 · github-linguist/linguist Description Closes #6944 Notes on the regex used: (?:.*(?:\r?\n|\r)){0,9} is used to limit our search to the first 10 lines. \A\W{0,3} is there in case the file has the UTF-8 BOM which is represen... github.com
mcqueccu Expert Licensed User Longtime User Sep 4, 2024 #2 Thats a good news. But I just checked my Repo and it still shows some as VBA and some Java. Do I have to upload new ones before its tagged as B4X? Is there a special header we have to add?
Thats a good news. But I just checked my Repo and it still shows some as VBA and some Java. Do I have to upload new ones before its tagged as B4X? Is there a special header we have to add?
xulihang Well-Known Member Licensed User Longtime User Sep 4, 2024 #3 You may need to update some files.
aeric Expert Licensed User Longtime User Sep 4, 2024 #5 Clicking the label getting a warning message. Should we report this issue?
Erel B4X founder Staff member Licensed User Longtime User Sep 5, 2024 #7 GitHub - AnywhereSoftware/B4A-Bridge: An alternative tool for USB debug mode. An alternative tool for USB debug mode. Contribute to AnywhereSoftware/B4A-Bridge development by creating an account on GitHub. github.com The files were misclassified as VBA. I've added this line to .gitattributes to fix it: Code: *.bas linguist-language=B4X
GitHub - AnywhereSoftware/B4A-Bridge: An alternative tool for USB debug mode. An alternative tool for USB debug mode. Contribute to AnywhereSoftware/B4A-Bridge development by creating an account on GitHub. github.com The files were misclassified as VBA. I've added this line to .gitattributes to fix it: Code: *.bas linguist-language=B4X
aeric Expert Licensed User Longtime User Sep 5, 2024 #8 aeric said: Clicking the label getting a warning message. Should we report this issue? View attachment 156601 Click to expand... I have created a Discussion on github Unknown language: "B4X" · github-linguist linguist · Discussion #7033 Hi, may I know why when I click on the link under Languages https://github.com/pyhoon/B4A-Bridge/search?l=b4x I am redirecting to a search result with 0 match. https://github.com/search?q=repo%3Apy... github.com
aeric said: Clicking the label getting a warning message. Should we report this issue? View attachment 156601 Click to expand... I have created a Discussion on github Unknown language: "B4X" · github-linguist linguist · Discussion #7033 Hi, may I know why when I click on the link under Languages https://github.com/pyhoon/B4A-Bridge/search?l=b4x I am redirecting to a search result with 0 match. https://github.com/search?q=repo%3Apy... github.com
aeric Expert Licensed User Longtime User Sep 6, 2024 #9 aeric said: I have created a Discussion on github Unknown language: "B4X" · github-linguist linguist · Discussion #7033 Hi, may I know why when I click on the link under Languages https://github.com/pyhoon/B4A-Bridge/search?l=b4x I am redirecting to a search result with 0 match. https://github.com/search?q=repo%3Apy... github.com Click to expand... Reply: This is a known issue due to the fact GitHub's Search and Linguist are not tightly linked... Search lags behind Linguist. Support for B4X was added in Linguist v8.0.0 released on Monday and this is why I always add this not to the release PRs like #7021: NOTE: Search results will not reflect changes and new lanuguages until the upstream internal library is updated to pull in the changes from this release and that then deployed to GitHub's Search. Click to expand...
aeric said: I have created a Discussion on github Unknown language: "B4X" · github-linguist linguist · Discussion #7033 Hi, may I know why when I click on the link under Languages https://github.com/pyhoon/B4A-Bridge/search?l=b4x I am redirecting to a search result with 0 match. https://github.com/search?q=repo%3Apy... github.com Click to expand... Reply: This is a known issue due to the fact GitHub's Search and Linguist are not tightly linked... Search lags behind Linguist. Support for B4X was added in Linguist v8.0.0 released on Monday and this is why I always add this not to the release PRs like #7021: NOTE: Search results will not reflect changes and new lanuguages until the upstream internal library is updated to pull in the changes from this release and that then deployed to GitHub's Search. Click to expand...
aeric Expert Licensed User Longtime User Sep 6, 2024 #10 I have updated all my B4X repos on GitHub. I am using the attached .gitatrributes file (remove .txt file extension before use). Adapt to your needs (Delete any lines). Cheers! [CODE lang="b4x" title=".gitattributes"]# Auto detect text files and perform LF normalization * text=auto # linguist-language *.b4a linguist-language=B4X *.b4i linguist-language=B4X *.b4j linguist-language=B4X *.b4r linguist-language=B4X *.bas linguist-language=B4X # linguist-detectable *.b4a linguist-detectable=true *.b4i linguist-detectable=true *.b4j linguist-detectable=true *.b4r linguist-detectable=true *.bas linguist-detectable=true[/CODE] Attachments .gitattributes.txt .gitattributes.txt 419 bytes · Views: 332
I have updated all my B4X repos on GitHub. I am using the attached .gitatrributes file (remove .txt file extension before use). Adapt to your needs (Delete any lines). Cheers! [CODE lang="b4x" title=".gitattributes"]# Auto detect text files and perform LF normalization * text=auto # linguist-language *.b4a linguist-language=B4X *.b4i linguist-language=B4X *.b4j linguist-language=B4X *.b4r linguist-language=B4X *.bas linguist-language=B4X # linguist-detectable *.b4a linguist-detectable=true *.b4i linguist-detectable=true *.b4j linguist-detectable=true *.b4r linguist-detectable=true *.bas linguist-detectable=true[/CODE]
aeric Expert Licensed User Longtime User Sep 6, 2024 #11 My observation is that if I put my code inside folders name as demo or sample, the code is ignored. I think better avoid using such name for folders.
My observation is that if I put my code inside folders name as demo or sample, the code is ignored. I think better avoid using such name for folders.
mcqueccu Expert Licensed User Longtime User Sep 6, 2024 #12 It will be great to have Upload to Github button integrated in the IDE, where the necessary .gitattributes and .gitignore is set as well as the files to upload and exclude
It will be great to have Upload to Github button integrated in the IDE, where the necessary .gitattributes and .gitignore is set as well as the files to upload and exclude
aeric Expert Licensed User Longtime User Sep 6, 2024 #13 mcqueccu said: It will be great to have Upload to Github button integrated in the IDE, where the necessary .gitattributes and .gitignore is set as well as the files to upload and exclude Click to expand... Good but it is not compulsory. Maybe make it an optional checkbox when creating a new project from template.
mcqueccu said: It will be great to have Upload to Github button integrated in the IDE, where the necessary .gitattributes and .gitignore is set as well as the files to upload and exclude Click to expand... Good but it is not compulsory. Maybe make it an optional checkbox when creating a new project from template.
mcqueccu Expert Licensed User Longtime User Sep 6, 2024 #14 aeric said: Good but it is not compulsory. Maybe make it an optional checkbox when creating a new project from template. Click to expand... Of course, I am not saying it should be compulsory. Its a button, those who like to upload to GitHub can easily do it right from the IDE.
aeric said: Good but it is not compulsory. Maybe make it an optional checkbox when creating a new project from template. Click to expand... Of course, I am not saying it should be compulsory. Its a button, those who like to upload to GitHub can easily do it right from the IDE.
aeric Expert Licensed User Longtime User Sep 6, 2024 #15 Hope to see more open source projects for B4X on Github.
aeric Expert Licensed User Longtime User Sep 6, 2024 #16 mcqueccu said: Of course, I am not saying it should be compulsory. Its a button, those who like to upload to GitHub can easily do it right from the IDE. Click to expand... Can post as a wish.
mcqueccu said: Of course, I am not saying it should be compulsory. Its a button, those who like to upload to GitHub can easily do it right from the IDE. Click to expand... Can post as a wish.
josejad Expert Licensed User Longtime User Sep 6, 2024 #17 aeric said: Can post as a wish. Click to expand... Github git / github integration with b4x ?, like these ones have..what's their name....ah. android studio. www.b4x.com
aeric said: Can post as a wish. Click to expand... Github git / github integration with b4x ?, like these ones have..what's their name....ah. android studio. www.b4x.com
Erel B4X founder Staff member Licensed User Longtime User Sep 8, 2024 #18 Opening Github Desktop with a comment link: https://www.b4x.com/android/forum/threads/github.127723/post-800227 is more useful than directly uploading the project (it isn't really possible).
Opening Github Desktop with a comment link: https://www.b4x.com/android/forum/threads/github.127723/post-800227 is more useful than directly uploading the project (it isn't really possible).
aeric Expert Licensed User Longtime User Sep 9, 2024 #19 [Project Template] [B4X] B4XPages for GitHub Upload GitHub: https://github.com/pyhoon/b4xpages-for-github Usage: 1. Download the template and put the file inside B4X Additional Libraries folder 2. Open B4A/B4i/B4J IDE 3. Click menu File -> New and select B4XPages (GitHub) www.b4x.com
[Project Template] [B4X] B4XPages for GitHub Upload GitHub: https://github.com/pyhoon/b4xpages-for-github Usage: 1. Download the template and put the file inside B4X Additional Libraries folder 2. Open B4A/B4i/B4J IDE 3. Click menu File -> New and select B4XPages (GitHub) www.b4x.com
aeric Expert Licensed User Longtime User Jul 23, 2025 #20 aeric said: Reply: This is a known issue due to the fact GitHub's Search and Linguist are not tightly linked... Search lags behind Linguist. Support for B4X was added in Linguist v8.0.0 released on Monday and this is why I always add this not to the release PRs like #7021: View attachment 156645 Click to expand... So, finally the search is fixed. Unknown language: "B4X" · github-linguist linguist · Discussion #7033 Hi, may I know why when I click on the link under Languages https://github.com/pyhoon/B4A-Bridge/search?l=b4x I am redirecting to a search result with 0 match. https://github.com/search?q=repo%3Apy... github.com
aeric said: Reply: This is a known issue due to the fact GitHub's Search and Linguist are not tightly linked... Search lags behind Linguist. Support for B4X was added in Linguist v8.0.0 released on Monday and this is why I always add this not to the release PRs like #7021: View attachment 156645 Click to expand... So, finally the search is fixed. Unknown language: "B4X" · github-linguist linguist · Discussion #7033 Hi, may I know why when I click on the link under Languages https://github.com/pyhoon/B4A-Bridge/search?l=b4x I am redirecting to a search result with 0 match. https://github.com/search?q=repo%3Apy... github.com