Comments (8)
If I understand you correctly, you have one workspace folder that contains three subfolders. So, it's just a normal folder structure, not a multi-root workspace? If this is what you have, then no, sorry, Ninja cannot support this, as this is an incorrect setup.
The only correct way to use multi-root workspace is by creating a VS Code workspace file (*.code-workspace) and open that file, rather than the folder containing that file.
Are you by any chance referring to AL-Go for GitHub templates (explained here: https://github.com/microsoft/AL-Go/#readme)
If so, then you'll notice that both of the templates contain the al.code-workspace
file. You need to open that file.
If you think I have misunderstood anything, then please let me know and I'll reopen this issue.
from al-objid.
It is actually a workspace, but I was trying to show you the structure that is in the actual folder. I do have a workspace file in there and that file is opened (it shows also "AL (Workspace)" on the root in VS Code. I have tried it with having the .AL-Go folder and without having it as part of the workspace.
The issue might be that it was an existing app that I converted into that new structure and I have an .objidconfig file for the app, but not the test app. I have tried moving the file into the same folder as the workspace file and back into the folder where it was.
If it's moved into the "root folder" (where the workspace file is), the error I am getting is that the commands are not found (probably, because it's not activating the extension). If I have the config file where it was, I am getting the error that no AL folders are open.
If you want, I can send you the app, but I don't want to post it here.
from al-objid.
I'd prefer if you posted your app here. Can you do this:
- Create a copy of your entire root directory
- Remove all AL files, they aren't needed for anything
- In app.json change ID, description or any properties that could be used to identify you or your company
However, before you do that - are you sure that your workspace is a multi-root workspace, rather than a single-root workspace with three subfolders?
from al-objid.
Here is the zipped file:
It is a multi-root workspace, based on the definition of it, I would think. It has the same root folder all of the projects are in there, but they are all referenced in the workspace file.
from al-objid.
Thanks for this file. At first sight, I can see that this configuration really shows the behavior you explain, while all seems to be configured correctly.
I'm reopening this issue, and I'll investigate.
from al-objid.
Here's the deal. The app.json
files in that workspace are not in UTF-8
format, but in UTF-8 with BOM
format. Apparently, Node.js runtime fails to JSON.parse()
UTF-8 with BOM correctly.
More about UTF-8 with BOM:
https://stackoverflow.com/questions/2223882/whats-the-difference-between-utf-8-and-utf-8-without-bom
I've found a workaround here:
nodejs/node-v0.x-archive#1918
I'll now try to see if it helps.
from al-objid.
Apparently, the workaround I linked above works fine, so I'll include the fix for this ASAP.
Thanks for finding this bug!
from al-objid.
Fixed in 2.7.1.
from al-objid.
Related Issues (20)
- "Finding objects" in appPool never finish HOT 3
- ObjectNinja proposing wrong object ID for tableextension with app pool HOT 3
- Inconsistent behavior of both explorers HOT 14
- Confusing Actions/Commands - Reclaim Object Id / Store ID assignment HOT 1
- Problems reported in VSC do not follow standard HOT 2
- Idea: Warning if field id is not assigned by AL Ninja
- Ninja for one app is working, but for another app not HOT 3
- Offline Working without Notifcation for X hours - Offline Computer vs. unavailable BackEnd
- Cannot communicate with the back-end API. Make sure your API key is valid.
- AL Parser Error parsing PageExtensions
- Repository with multiple apps HOT 2
- Feature: Field ID reservation for Transferfield-Tables
- Multipule diffrent AppSource using same IP Rang
- Feature Request : Report consumption for workspace
- Organization-wide ranges HOT 1
- "Finding object IDs in repo..." stuck indefinitely. HOT 2
- Assignment Explorer: Lost object listed in wrong app
- Compatibility for newer Node and Azure Functions versions
- Make command "Authorize AL App" available with no al-file / only app.json
- Expanding a scope of Ninja (idea)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from al-objid.